Package org.gradle.plugins.ear
Klasse EarPluginConvention
java.lang.Object
org.gradle.plugins.ear.EarPluginConvention
Veraltet.
Instead of using conventions, configure the tasks directly. This class is scheduled for removal in Gradle 9.0.
Ear Plugin Convention.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract voidappDirName(String appDirName) Veraltet.Allows changing the application directory.abstract EarPluginConventiondeploymentDescriptor(Closure configureClosure) Veraltet.Configures the deployment descriptor for this EAR archive.abstract EarPluginConventiondeploymentDescriptor(Action<? super DeploymentDescriptor> configureAction) Veraltet.Configures the deployment descriptor for this EAR archive.abstract StringVeraltet.The name of the application directory, relative to the project directory.abstract DeploymentDescriptorVeraltet.A custom deployment descriptor configuration.Veraltet.Specifies if the deploymentDescriptor should be generated if it does not exist.abstract StringVeraltet.The name of the library directory in the EAR file.abstract voidlibDirName(String libDirName) Veraltet.Allows changing the library directory in the EAR file.abstract voidsetAppDirName(String appDirName) Veraltet.abstract voidsetDeploymentDescriptor(DeploymentDescriptor deploymentDescriptor) Veraltet.abstract voidsetLibDirName(String libDirName) Veraltet.
-
Konstruktordetails
-
EarPluginConvention
public EarPluginConvention()Veraltet.
-
-
Methodendetails
-
getAppDirName
Veraltet.The name of the application directory, relative to the project directory. Default is "src/main/application". -
setAppDirName
Veraltet. -
appDirName
Veraltet.Allows changing the application directory. Default is "src/main/application". -
getLibDirName
Veraltet.The name of the library directory in the EAR file. Default is "lib". -
setLibDirName
Veraltet. -
libDirName
Veraltet.Allows changing the library directory in the EAR file. Default is "lib". -
getGenerateDeploymentDescriptor
Veraltet.Specifies if the deploymentDescriptor should be generated if it does not exist. Default is true.- Seit:
- 6.0
-
getDeploymentDescriptor
Veraltet.A custom deployment descriptor configuration. Default is an "application.xml" with sensible defaults. -
setDeploymentDescriptor
Veraltet. -
deploymentDescriptor
public abstract EarPluginConvention deploymentDescriptor(@DelegatesTo(DeploymentDescriptor.class) Closure configureClosure) Veraltet.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.- Parameter:
configureClosure- The closure.- Gibt zurück:
- This.
-
deploymentDescriptor
public abstract EarPluginConvention deploymentDescriptor(Action<? super DeploymentDescriptor> configureAction) Veraltet.Configures the deployment descriptor for this EAR archive.The given action is executed to configure the deployment descriptor.
- Parameter:
configureAction- The action.- Gibt zurück:
- This.
- Seit:
- 3.5
-