gradle
8.6

# EarPluginConvention

abstract class EarPluginConvention(source)

### Deprecated

Ear Plugin Convention.

#### Deprecated

Instead of using conventions, configure the tasks directly. This class is scheduled for removal in Gradle 9.0.

## Constructors

EarPluginConvention
Link copied to clipboard
constructor()

## Functions

appDirName
Link copied to clipboard
abstract fun appDirName(appDirName: String)
Allows changing the application directory.
deploymentDescriptor
Link copied to clipboard
abstract fun deploymentDescriptor(@DelegatesTo(value = DeploymentDescriptor::class) configureClosure: Closure): EarPluginConvention
abstract fun deploymentDescriptor(configureAction: Action<out Any>): EarPluginConvention
Configures the deployment descriptor for this EAR archive.
getAppDirName
Link copied to clipboard
abstract fun getAppDirName(): String
The name of the application directory, relative to the project directory.
getDeploymentDescriptor
Link copied to clipboard
abstract fun getDeploymentDescriptor(): DeploymentDescriptor
A custom deployment descriptor configuration.
getGenerateDeploymentDescriptor
Link copied to clipboard
abstract fun getGenerateDeploymentDescriptor(): Property<Boolean>
Specifies if the deploymentDescriptor should be generated if it does not exist.
getLibDirName
Link copied to clipboard
abstract fun getLibDirName(): String
The name of the library directory in the EAR file.
libDirName
Link copied to clipboard
abstract fun libDirName(libDirName: String)
Allows changing the library directory in the EAR file.
setAppDirName
Link copied to clipboard
abstract fun setAppDirName(appDirName: String)
setDeploymentDescriptor
Link copied to clipboard
abstract fun setDeploymentDescriptor(deploymentDescriptor: DeploymentDescriptor)
setLibDirName
Link copied to clipboard
abstract fun setLibDirName(libDirName: String)