public class EarPluginConvention extends Object
Constructor and Description |
---|
EarPluginConvention(org.gradle.api.internal.file.FileResolver fileResolver,
org.gradle.internal.reflect.Instantiator instantiator) |
EarPluginConvention(org.gradle.internal.reflect.Instantiator instantiator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
appDirName(String appDirName)
Allows changing the application directory.
|
EarPluginConvention |
deploymentDescriptor(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) |
@Deprecated @Inject public EarPluginConvention(org.gradle.internal.reflect.Instantiator instantiator)
@Inject public EarPluginConvention(org.gradle.api.internal.file.FileResolver fileResolver, org.gradle.internal.reflect.Instantiator instantiator)
public String getAppDirName()
public void setAppDirName(String appDirName)
public void appDirName(String appDirName)
public String getLibDirName()
public void setLibDirName(String libDirName)
public void libDirName(String libDirName)
public DeploymentDescriptor getDeploymentDescriptor()
public void setDeploymentDescriptor(DeploymentDescriptor deploymentDescriptor)
public EarPluginConvention deploymentDescriptor(Closure configureClosure)
The given closure is executed to configure the deployment descriptor.
The DeploymentDescriptor
is passed to the closure as its delegate.
configureClosure
- The closure.