Assembles an EAR archive.
Modifiers | Name | Description |
---|---|---|
static String |
EAR_EXTENSION |
Fields inherited from class | Fields |
---|---|
class Jar |
DEFAULT_EXTENSION |
class Zip |
ZIP_EXTENSION |
Type | Name and description |
---|---|
DeploymentDescriptor |
deploymentDescriptor The deployment descriptor configuration. |
String |
libDirName The name of the library directory in the EAR file. |
Constructor and description |
---|
Ear
() |
Type | Name and description |
---|---|
Ear |
deploymentDescriptor(Closure configureClosure) Configures the deployment descriptor for this EAR archive. |
CopySpec |
getLib() A location for dependency libraries to include in the 'lib' directory of the EAR archive. |
CopySpec |
lib(Closure configureClosure) Adds dependency libraries to include in the 'lib' directory of the EAR archive. |
The deployment descriptor configuration.
The name of the library directory in the EAR file. Default is "lib".
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.A location for dependency libraries to include in the 'lib' directory of the EAR archive.
Gradle API 2.0