Heh.

It is amazing.. that what you wrote "below" does this.

For some reason.. maybe because i'm looking at a 'build file'.. I simply forget 
that.. of course, I can call the "subprojects method, which takes a closure" 
from inside of a copy task.

My brain had turned off, and I assumed I could only do subprojects {} from 
the.. "root indentation level?" of the build file

Thanks!

Roger
  
On Nov 10, 2010, at 2:21 AM, Etienne Studer wrote:

> task copyRuntimeDependencies(type: Copy) {
>    subprojects {
>        dependsOn project.configurations.runtime.buildArtifacts
>        from project.configurations.runtime
>        from project.configurations.runtime.allArtifacts*.file
>    }
>    into('libs')
> }


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

    http://xircles.codehaus.org/manage_email


Reply via email to