Hi folks,
In my project I would like to create multiple jars:
- one containing only the classes of my project (classic targer)
- a second one containing all dependencies,
In the cookbook, it is said that I can do this:
jar.doFirst {
for(file in configurations.compile) {
jar.merge(file)
}
}
What is the best way to achieve this ?
Clone the jar task ?
Do something like a :
jar.doLast{
jar.copy(jar-minimal.jar)
for(file in configurations.compile) {
jar.merge(file)
}
}
Thanks for your help
Guillaume
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email