> The compileClasspath is actually a property of sourceSets.main (of type
> SourceSet), rather than sourceSets.main.groovy (of type SourceDirectorySet).
>
> The first example works because the groovy { } closure delegates to its
> owner main { } closure when it can't find compileClasspath. And the main {}
> closure delegates to the SourceSet, which does have the property.
Ah, should have picked up on that. Thanks for the clarification.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email