Hi,

I tried to find the information in the userguide, the cookbook and the
mailing list but failed so far. Hopefully it's not a stupid question.

We have a fairly standard multi-project of java subprojects with
dependencies defined etc. and it all works well. What I couldn't
figure our yet is how to create a fat-jar which contains the
aggregated contents of some subprojects. So far I created a new
subproject "fat" with a dependency on the relevant other subproject
(which again has dependencies on other subprojects of the
multi-project).

How does the gradle code need to look like to redefine the jar task of
subproject "fat" to take the jar content of all its dependend
subprojects (transitive = true) and merge it in a fat jar. Same for
javadoc. Please note that I want to merge the content and not create a
distribution file which contains the jar files created by the
subprojects.

A related question: while merging the jar content, it might be that
some classes have the same name and path/package. How can I control
which one gets copied into the fat jar

Thanks for your help

-Juergen

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

    http://xircles.codehaus.org/manage_email


Reply via email to