Somewhere, long ago, I found this:

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


I've used it over time on my small hackery projects when I wanted to just dump 
all my libs into a folder.

So.. the question then.. is on a giant multi-project build.. how to achieve 
this?

Obviously, I could run this task in every subproject, and then aggregate the 
various lib folders manually(ish).

and, obviously, if I declare this in the "shell root" of the whole 
multi-project, it just dies because there is no runtime configuration in the 
root ;)

Any thoughts/people tackle this before?

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

    http://xircles.codehaus.org/manage_email


Reply via email to