Thank You!
Adam Murdoch-2 wrote:
>
> The method runs with the root project as it's delegate, and as a result
> cannot find the 'sourceSets' property. You will need to pass the target
> project into the method, something like:
>
> subprojects {
> prepareJarResources(delegate)
> }
>
> void prepareJarResources(def project) {
> project.sourceSets...
> }
>
> Adam Murdoch
> Gradle Developer
> http://www.gradle.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
>
--
View this message in context:
http://www.nabble.com/Using-methods-in-scripts-tp25803002p25821199.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email