From a sourceSet I think it's 'java.srcDirs' for the java sources.

So, typically from a project you would use 'sourceSets.main.java.srcDirs' to 
get the set of source directory files.


On Apr 21, 2010, at 8:11 AM, Russel Winder wrote:

> The user manual is reasonably clear about how to set the source path
> where the default is not acceptable, but I can't find any useful
> examples of how to refer to the path.
> 
> I don't want to put 'src/main/java' elsewhere in my build.grade but what
> is the expression to use:
> 
>       configurations.compile.   ????
> 
> Thanks.
> 
> -- 
> Russel.
> =============================================================================
> Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
> 41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to