I have been tasked with converting our build process from ANT to Gradle. I am using a mulit-project setup. The original ANT build also included a folder called /libs/ that included several .jars. I can get close to re-creating this using earlib, however they appear nested inside of another .ear file.
[PROJECT]
|--/shared`Preformatted text`
| |-- jar1.jar
| |-- jar2.jar
| --build.gradle
|--/subproj1
| |-- gradle.build
|--/subproj1
| |-- gradle.build
This is my desired outcome below.
[PROJECT.EAR]
|--/lib
| |-- jar1.jar
| |-- jar2.jar
|-- subproj1.war
|-- subproj2.war
However instead, the .jars are first packaged inside of another .ear file like this.
[PROJECT.EAR]
|--/lib
| | |another_ear.ear (as defined by a war task, which I don't think is right)
| | | --lib
| | | |-- jar1.jar
| | | |-- jar2.jar
|-- subproj1.war
|-- subproj2.war