I have an ear format project with several military modules.
Using standard EAR mechanisms for dependencies:
dependencies { deploy project(path: "war1", configuration: "archives") deploy project(path: "war2", configuration: "archives") }
I can create exploded EAR output that looks something like this:
exploded-ear |
However i really want
exploded-ear |
I searched for a while, and the configuration mechanisms in Gradle do not seem to allow anything that is not an archive. I want to define a configuration that references fileTree (which will be the site of the detonated war in my subprojects) so that my ear (and therefore my detonated ear) contains detonated wars.
source share