public class Jar extends Zip
Zip.ZipCopyActionImpl
Task.Namer
修飾子とタイプ | フィールドと説明 |
---|---|
static String |
DEFAULT_EXTENSION |
ZIP_EXTENSION
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
コンストラクタと説明 |
---|
Jar() |
修飾子とタイプ | メソッドと説明 |
---|---|
Manifest |
getManifest()
Returns the manifest for this JAR archive.
|
CopySpec |
getMetaInf() |
Jar |
manifest(Closure<?> configureClosure)
Configures the manifest for this JAR archive.
|
CopySpec |
metaInf(Closure<?> configureClosure)
Adds content to this JAR archive's META-INF directory.
|
void |
setManifest(Manifest manifest)
Sets the manifest for this JAR archive.
|
createCopyAction, getCompressor, getEntryCompression, isZip64, setEntryCompression, setZip64
getAppendix, getArchiveName, getArchivePath, getBaseName, getClassifier, getDestinationDir, getExtension, getVersion, into, into, setAppendix, setArchiveName, setBaseName, setClassifier, setDestinationDir, setExtension, setVersion
copy, createRootSpec, eachFile, eachFile, exclude, exclude, exclude, exclude, expand, filesMatching, filesNotMatching, filter, filter, filter, from, from, getDirMode, getDuplicatesStrategy, getExcludes, getFileLookup, getFileMode, getFileResolver, getFileSystem, getIncludeEmptyDirs, getIncludes, getInstantiator, getMainSpec, getRootSpec, getSource, include, include, include, include, isCaseSensitive, rename, rename, rename, setCaseSensitive, setDirMode, setDuplicatesStrategy, setExcludes, setFileMode, setIncludeEmptyDirs, setIncludes, with
conventionMapping, conventionMapping, getConventionMapping
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, finalizedBy, 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, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
public Manifest getManifest()
public void setManifest(Manifest manifest)
manifest
- The manifest. May be null.public Jar manifest(Closure<?> configureClosure)
The given closure is executed to configure the manifest. The Manifest
is passed to the closure as its delegate.
configureClosure
- The closure.public CopySpec getMetaInf()