Transparency for outlines


I can't find out how to add gradient transparency to lines. Example:

I want the 2 white lines to start white from one end and then fade out at the other end. The lines were created using the 2-point line tool.

I know I can make object outlines objects themselves and then apply transparency to that, but with lines, no clue! Anybody know how to do that?