Package org.gradle.plugins.ear
Class EarPluginConvention
java.lang.Object
org.gradle.plugins.ear.EarPluginConvention
Deprecated.
Instead of using conventions, configure the tasks directly. This class is scheduled for removal in Gradle 9.0.
Ear Plugin Convention.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidappDirName(String appDirName) Deprecated.Allows changing the application directory.abstract EarPluginConventiondeploymentDescriptor(Closure configureClosure) Deprecated.Configures the deployment descriptor for this EAR archive.abstract EarPluginConventiondeploymentDescriptor(Action<? super DeploymentDescriptor> configureAction) Deprecated.Configures the deployment descriptor for this EAR archive.abstract StringDeprecated.The name of the application directory, relative to the project directory.abstract DeploymentDescriptorDeprecated.A custom deployment descriptor configuration.Deprecated.Specifies if the deploymentDescriptor should be generated if it does not exist.abstract StringDeprecated.The name of the library directory in the EAR file.abstract voidlibDirName(String libDirName) Deprecated.Allows changing the library directory in the EAR file.abstract voidsetAppDirName(String appDirName) Deprecated.abstract voidsetDeploymentDescriptor(DeploymentDescriptor deploymentDescriptor) Deprecated.abstract voidsetLibDirName(String libDirName) Deprecated.
-
Constructor Details
-
EarPluginConvention
public EarPluginConvention()Deprecated.
-
-
Method Details
-
getAppDirName
Deprecated.The name of the application directory, relative to the project directory. Default is "src/main/application". -
setAppDirName
Deprecated. -
appDirName
Deprecated.Allows changing the application directory. Default is "src/main/application". -
getLibDirName
Deprecated.The name of the library directory in the EAR file. Default is "lib". -
setLibDirName
Deprecated. -
libDirName
Deprecated.Allows changing the library directory in the EAR file. Default is "lib". -
getGenerateDeploymentDescriptor
Deprecated.Specifies if the deploymentDescriptor should be generated if it does not exist. Default is true.- Since:
- 6.0
-
getDeploymentDescriptor
Deprecated.A custom deployment descriptor configuration. Default is an "application.xml" with sensible defaults. -
setDeploymentDescriptor
Deprecated. -
deploymentDescriptor
public abstract EarPluginConvention deploymentDescriptor(@DelegatesTo(DeploymentDescriptor.class) Closure configureClosure) Deprecated.Configures the deployment descriptor for this EAR archive.The given closure is executed to configure the deployment descriptor. The
DeploymentDescriptoris passed to the closure as its delegate.- Parameters:
configureClosure- The closure.- Returns:
- This.
-
deploymentDescriptor
public abstract EarPluginConvention deploymentDescriptor(Action<? super DeploymentDescriptor> configureAction) Deprecated.Configures the deployment descriptor for this EAR archive.The given action is executed to configure the deployment descriptor.
- Parameters:
configureAction- The action.- Returns:
- This.
- Since:
- 3.5
-