Type | Name and description |
---|---|
String |
appDirName The name of the application directory, relative to the project directory. |
DeploymentDescriptor |
deploymentDescriptor A custom deployment descriptor configuration. |
String |
libDirName The name of the library directory in the EAR file. |
Constructor and description |
---|
EarPluginConvention
(FileResolver fileResolver) |
Type | Name and description |
---|---|
void |
appDirName(String appDirName) Allows changing the application directory. |
EarPluginConvention |
deploymentDescriptor(Closure configureClosure) Configures the deployment descriptor for this EAR archive. |
void |
libDirName(String libDirName) Allows changing the library directory in the EAR file. |
void |
setAppDirName(String appDirName) |
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 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.Allows changing the library directory in the EAR file. Default is "lib".
Gradle API 2.0