Package org.gradle.jvm.tasks
Klasse Jar
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
- Alle implementierten Schnittstellen:
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,Named,ExtensionAware,Task,PatternFilterable,Configurable<Task>
- Bekannte direkte Unterklassen:
Jar
Assembles a JAR archive.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Task
Task.Namer -
Feldübersicht
FelderVon Klasse geerbte Felder org.gradle.api.tasks.bundling.Zip
ZIP_EXTENSIONVon Schnittstelle geerbte Felder org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the manifest for this JAR archive.The character set used to encode the manifest content.The character set used to encode JAR metadata like file names.Configures the manifest for this JAR archive.Configures the manifest for this JAR archive.Adds content to this JAR archive's META-INF directory.Adds content to this JAR archive's META-INF directory.voidsetManifest(Manifest manifest) Sets the manifest for this JAR archive.voidsetManifestContentCharset(String manifestContentCharset) The character set used to encode the manifest content.voidsetMetadataCharset(String metadataCharset) The character set used to encode JAR metadata like file names.Von Klasse geerbte Methoden org.gradle.api.tasks.bundling.Zip
createCopyAction, getCompressor, getEntryCompression, isZip64, setEntryCompression, setZip64Von Klasse geerbte Methoden org.gradle.api.tasks.bundling.AbstractArchiveTask
createCopyActionExecuter, getArchiveAppendix, getArchiveBaseName, getArchiveClassifier, getArchiveExtension, getArchiveFile, getArchiveFileName, getArchivePath, getArchiveVersion, getDestinationDirectory, into, into, into, isPreserveFileTimestamps, isReproducibleFileOrder, setPreserveFileTimestamps, setReproducibleFileOrderVon Klasse geerbte Methoden org.gradle.api.tasks.AbstractCopyTask
copy, createRootSpec, dirPermissions, eachFile, eachFile, exclude, exclude, exclude, exclude, expand, expand, filePermissions, filesMatching, filesMatching, filesNotMatching, filesNotMatching, filter, filter, filter, filter, from, from, from, getDirectoryFileTreeFactory, getDirMode, getDirPermissions, getDocumentationRegistry, getDuplicatesStrategy, getExcludes, getFileLookup, getFileMode, getFilePermissions, getFileResolver, getFileSystem, getFilteringCharset, getIncludeEmptyDirs, getIncludes, getInstantiator, getMainSpec, getObjectFactory, getPropertyFactory, getRootSpec, getSource, include, include, include, include, isCaseSensitive, rename, rename, rename, rename, setCaseSensitive, setDirMode, setDuplicatesStrategy, setExcludes, setFileMode, setFilteringCharset, setIncludeEmptyDirs, setIncludes, withVon Klasse geerbte Methoden org.gradle.api.internal.ConventionTask
conventionMapping, conventionMapping, getConventionMappingVon Klasse geerbte Methoden org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceVon Klasse geerbte Methoden org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.gradle.api.Task
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
-
Felddetails
-
DEFAULT_EXTENSION
- Siehe auch:
-
-
Konstruktordetails
-
Jar
public Jar()
-
-
Methodendetails
-
getMetadataCharset
The character set used to encode JAR metadata like file names. Defaults to UTF-8. You can change this property but it is not recommended as JVMs expect JAR metadata to be encoded using UTF-8- Setzt außer Kraft:
getMetadataCharsetin KlasseZip- Gibt zurück:
- the character set used to encode JAR metadata like file names
- Seit:
- 2.14
-
setMetadataCharset
The character set used to encode JAR metadata like file names. Defaults to UTF-8. You can change this property but it is not recommended as JVMs expect JAR metadata to be encoded using UTF-8- Setzt außer Kraft:
setMetadataCharsetin KlasseZip- Parameter:
metadataCharset- the character set used to encode JAR metadata like file names- Seit:
- 2.14
-
getManifestContentCharset
The character set used to encode the manifest content. Defaults to UTF-8. You can change this property but it is not recommended as JVMs expect manifests content to be encoded using UTF-8.- Gibt zurück:
- the character set used to encode the manifest content
- Seit:
- 2.14
-
setManifestContentCharset
The character set used to encode the manifest content.- Parameter:
manifestContentCharset- the character set used to encode the manifest content- Seit:
- 2.14
- Siehe auch:
-
getManifest
Returns the manifest for this JAR archive.- Gibt zurück:
- The manifest
-
setManifest
Sets the manifest for this JAR archive.- Parameter:
manifest- The manifest. May be null.
-
manifest
Configures the manifest for this JAR archive.The given closure is executed to configure the manifest. The
Manifestis passed to the closure as its delegate.- Parameter:
configureClosure- The closure.- Gibt zurück:
- This.
-
manifest
Configures the manifest for this JAR archive.The given action is executed to configure the manifest.
- Parameter:
configureAction- The action.- Gibt zurück:
- This.
- Seit:
- 3.5
-
getMetaInf
-
metaInf
Adds content to this JAR archive's META-INF directory.The given closure is executed to configure a
CopySpec. TheCopySpecis passed to the closure as its delegate.- Parameter:
configureClosure- The closure.- Gibt zurück:
- The created
CopySpec
-
metaInf
Adds content to this JAR archive's META-INF directory.The given action is executed to configure a
CopySpec.- Parameter:
configureAction- The action.- Gibt zurück:
- The created
CopySpec - Seit:
- 3.5
-