api / org.gradle.plugins.ear / Ear

Ear

open class Ear : Jar

Assembles an EAR archive.

Constructors

<init>

Ear()

Properties

EAR_EXTENSION

static val EAR_EXTENSION: String

Functions

deploymentDescriptor

open fun deploymentDescriptor(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.

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.

getDeploymentDescriptor

open fun getDeploymentDescriptor(): DeploymentDescriptor

The deployment descriptor configuration.

getLib

open fun getLib(): CopySpec

A location for dependency libraries to include in the 'lib' directory of the EAR archive.

getLibDirName

open fun getLibDirName(): String

The name of the library directory in the EAR file. Default is "lib".

lib

open fun lib(configureClosure: Closure<Any>): CopySpec

Adds dependency libraries to include in the 'lib' directory of the EAR archive.

The given closure is executed to configure a CopySpec. The CopySpec is passed to the closure as its delegate.

open fun lib(configureAction: Action<in CopySpec>): CopySpec

Adds dependency libraries to include in the 'lib' directory of the EAR archive.

The given action is executed to configure a CopySpec.

setDeploymentDescriptor

open fun setDeploymentDescriptor(deploymentDescriptor: DeploymentDescriptor): Unit

setLibDirName

open fun setLibDirName(libDirName: String): Unit

Inherited Functions

manifest

open fun manifest(configureClosure: Closure<*>): Jar