@CacheableTask public class Ear extends Jar
Task.Namer
Modifier and Type | Field and Description |
---|---|
static String |
EAR_EXTENSION |
DEFAULT_EXTENSION
ZIP_EXTENSION
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
Ear() |
Modifier and Type | Method and Description |
---|---|
Ear |
deploymentDescriptor(Closure configureClosure)
Configures the deployment descriptor for this EAR archive.
|
DeploymentDescriptor |
getDeploymentDescriptor()
The deployment descriptor configuration.
|
protected org.gradle.internal.reflect.Instantiator |
getInstantiator() |
CopySpec |
getLib()
A location for dependency libraries to include in the 'lib' directory of the EAR archive.
|
String |
getLibDirName()
The name of the library directory in the EAR file.
|
CopySpec |
lib(Closure configureClosure)
Adds dependency libraries to include in the 'lib' directory of the EAR archive.
|
void |
setDeploymentDescriptor(DeploymentDescriptor deploymentDescriptor) |
void |
setLibDirName(String libDirName) |
getManifest, getManifestContentCharset, getMetadataCharset, getMetaInf, metaInf, setManifest, setManifestContentCharset, setMetadataCharset
createCopyAction, getCompressor, getEntryCompression, isZip64, setEntryCompression, setZip64
getAppendix, getArchiveName, getArchivePath, getBaseName, getClassifier, getDestinationDir, getExtension, getVersion, into, into, into, setAppendix, setArchiveName, setBaseName, setClassifier, setDestinationDir, setExtension, setVersion
copy, createRootSpec, eachFile, eachFile, exclude, exclude, exclude, exclude, expand, filesMatching, filesMatching, filesNotMatching, filesNotMatching, filter, filter, filter, filter, from, from, from, getDirMode, getDuplicatesStrategy, getExcludes, getFileLookup, getFileMode, getFileResolver, getFileSystem, getFilteringCharset, getIncludeEmptyDirs, getIncludes, getMainSpec, getRootSpec, getSource, include, include, include, include, isCaseSensitive, rename, rename, rename, rename, setCaseSensitive, setDirMode, setDuplicatesStrategy, setExcludes, setFileMode, setFilteringCharset, setIncludeEmptyDirs, setIncludes, with
conventionMapping, conventionMapping, getConventionMapping
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
public static final String EAR_EXTENSION
@Inject protected org.gradle.internal.reflect.Instantiator getInstantiator()
getInstantiator
in class AbstractCopyTask
public Ear deploymentDescriptor(@DelegatesTo(value=DeploymentDescriptor.class,strategy=1) Closure configureClosure)
The given closure is executed to configure the deployment descriptor. The DeploymentDescriptor
is passed to the closure as its delegate.
configureClosure
- The closure.@Internal public CopySpec getLib()
public CopySpec lib(@DelegatesTo(value=CopySpec.class,strategy=1) Closure configureClosure)
The given closure is executed to configure a CopySpec
. The CopySpec
is passed to the closure as its delegate.
configureClosure
- The closure.CopySpec
@Optional @Input public String getLibDirName()
public void setLibDirName(String libDirName)
@Internal public DeploymentDescriptor getDeploymentDescriptor()
public void setDeploymentDescriptor(DeploymentDescriptor deploymentDescriptor)