Ear Plugin Convention.
Constructor and description |
---|
EarPluginConvention
(org.gradle.internal.reflect.Instantiator instantiator) |
EarPluginConvention
(org.gradle.api.internal.file.FileResolver fileResolver, org.gradle.internal.reflect.Instantiator instantiator) |
Type | Name and description |
---|---|
void |
appDirName(String appDirName) Allows changing the application directory. |
EarPluginConvention |
deploymentDescriptor(groovy.lang.Closure configureClosure) Configures the deployment descriptor for this EAR archive. |
String |
getAppDirName() The name of the application directory, relative to the project directory. |
DeploymentDescriptor |
getDeploymentDescriptor() A custom deployment descriptor configuration. |
String |
getLibDirName() The name of the library directory in the EAR file. |
void |
libDirName(String libDirName) Allows changing the library directory in the EAR file. |
void |
setAppDirName(String appDirName) |
void |
setDeploymentDescriptor(DeploymentDescriptor deploymentDescriptor) |
void |
setLibDirName(String libDirName) |
Methods inherited from class | Name |
---|---|
class groovy.lang.GroovyObjectSupport |
groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll() |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Allows changing the application directory. Default is "src/main/application".
Configures the deployment descriptor for this EAR archive.
The given closure is executed to configure the deployment descriptor. The DeploymentDescriptor is passed to the closure as its delegate.
configureClosure
- The closure.The name of the application directory, relative to the project directory. Default is "src/main/application".
A custom deployment descriptor configuration. Default is an "application.xml" with sensible defaults.
The name of the library directory in the EAR file. Default is "lib".
Allows changing the library directory in the EAR file. Default is "lib".