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

deploymentDescriptor

open fun deploymentDescriptor(@DelegatesTo(DeploymentDescriptor, 1) configureClosure: Closure<Any>): Ear

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>): Ear

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