api / org.gradle.plugins.ear / EarPluginConvention / deploymentDescriptor

deploymentDescriptor

open fun deploymentDescriptor(configureClosure: Closure<Any>): EarPluginConvention

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.

Parameters

configureClosure - The closure.

Return
This.

open fun deploymentDescriptor(configureAction: Action<in DeploymentDescriptor>): EarPluginConvention

Configures the deployment descriptor for this EAR archive.

The given action is executed to configure the deployment descriptor.

Parameters

configureAction - The action.

Return
This.

Since
3.5