I’m trying to view a list of modules Gradle will add to the deployment
descriptor for an ear file during my build. When I access the
deploymentDescriptor property in my build file though it appears I
always get a blank deployment descriptor. How can I access the
deployment descriptor Gradle will add to my generated ear? I’ve pasted
a sample build file below. When I call println descriptor.getModules()
I get an empty array.
apply plugin: 'ear'
repositories {
mavenRepo urls: "http://urltoourcorporitmirror"
}
dependencies {
deploy project(':Project1')
deploy project(':Project2Client')
}
println deploymentDescriptor.getModules()
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email