Hi,
This did not helped. Exactly the same output.
Steve Appling wrote:
>
> I haven't tried this, but I don't think that you are accessing the project
> you
> think you are inside of the doFirst closure. That closure is not executed
> during the configuration phase when the project property is set, so it
> will
> always have the value of the last subproject.
>
> Try using the current task to get the project like :
> project.processResources.doFirst { task->
> println "I'm $task.project.name"
> println "type: $task.project.artifactType"
> println task.project.resourceDirs
> task.project.resourceDirNames = new LinkedList()
> task.project.resourceDirNames.add
> "/main/resources/default"
> println task.project.resourceDirs
> }
>
> --
> Steve Appling
> Automated Logic Research Team
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
>
--
View this message in context:
http://www.nabble.com/Override-resources-folder-tp25489224p25509804.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