Thursday, 15 March 2012

java - Create an gradle configuration with a filetree (not an archive) -



java - Create an gradle configuration with a filetree (not an archive) -

i have ear format project multiple war modules.

using standard ear mechanisms dependencies:

dependencies { deploy project(path: "war1", configuration: "archives") deploy project(path: "war2", configuration: "archives") }

i can create exploded ear output kinda looks this:

exploded-ear |-- war1.war \-- war2.war

however want is

exploded-ear |-- exploded-war1 \-- exploded-war2

i've been looking while , configuration mechanisms in gradle don't seem allow not archive. want define configuration references filetree (which location of exploded war in subprojects) ear (and consequently exploded ear) contain exploded wars.

java gradle war ear exploded

No comments:

Post a Comment