For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

deploymentDescriptor

open fun deploymentDescriptor(@DelegatesTo(value = DeploymentDescriptor::class, strategy = Closure.DELEGATE_FIRST) configureClosure: Closure): Ear(source)

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.

Return

This.

Since

1.0

Parameters

configureClosure

The closure.


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

Configures the deployment descriptor for this EAR archive.

The given action is executed to configure the deployment descriptor.

Return

This.

Since

3.5

Parameters

configureAction

The action.