Comparable<Task>, ContentFilterable, CopyProcessingSpec, CopySourceSpec, CopySpec, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.file.copy.CopySpecSource, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, PatternFilterable, org.gradle.util.Configurable<Task>@CacheableTask public class Ear extends Jar
Task.Namer| Modifier and Type | Field | Description |
|---|---|---|
static String |
EAR_EXTENSION |
DEFAULT_EXTENSIONTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPEZIP_EXTENSION| Constructor | Description |
|---|---|
Ear() |
| Modifier and Type | Method | 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) |
createCopyActionExecuter, getAppendix, getArchiveName, getArchivePath, getBaseName, getClassifier, getDestinationDir, getExtension, getVersion, into, into, into, isPreserveFileTimestamps, isReproducibleFileOrder, setAppendix, setArchiveName, setBaseName, setClassifier, setDestinationDir, setExtension, setPreserveFileTimestamps, setReproducibleFileOrder, setVersioncopy, 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, withaddValidator, 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, getIdentityPath, 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, toStringconventionMapping, conventionMapping, getConventionMappinggetManifest, getManifestContentCharset, getMetadataCharset, getMetaInf, metaInf, setManifest, setManifestContentCharset, setMetadataCharsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateCopyAction, getCompressor, getEntryCompression, isZip64, setEntryCompression, setZip64public static final String EAR_EXTENSION
@Inject protected org.gradle.internal.reflect.Instantiator getInstantiator()
getInstantiator in class AbstractCopyTaskpublic 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)