On Dec 24, 2008, at 4:05 PM, Gregory Boissinot wrote:
Hi,
In Gradle, is there a simple way to have the features of the maven
plugin
"maven-dependency-plugin". I need the plugin goals "copy" and
"unpack" and I
want to limit the part of Ant scripts.
Right. At the moment you have to do something like:
dependencies.testRuntime.resolve.each { depFile ->
ant.copy(file: depFile, tofile: 'somePath)
}
We could make this more convenient by some additional method in the
configuration object. Something like resolveTo(dirName), or
unpackTo(dirName). In general if we think our general purpose elements
provide a sufficiently convenient solution we are reluctant to add
weight to our API. But this looks like a common use case were it
probably makes sense to make it more convenient. Thanks for pointing
this out.
Could you file a Jira?
- Hans
Thanks
--
View this message in context:
http://www.nabble.com/maven-dependency-plugin-in-Gradle-tp21156875p21156875.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
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email