Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD

## org.gradle.api.tasks.bundling
Class Jar

    java.lang.Object
      org.gradle.api.internal.ConventionTask
          org.gradle.api.tasks.bundling.AbstractArchiveTask
              org.gradle.api.tasks.bundling.Zip
                  org.gradle.api.tasks.bundling.Jar

    class Jar
    extends Zip

author:
  Hans Dockter

Property Summary
`static java.lang.String` | `DEFAULT_EXTENSION`
`AntJar` | `antJar`
`java.lang.String` | `fileSetManifest`
`GradleManifest` | `manifest`
`java.util.List` | `metaInfResourceCollections`

Constructor Summary
`Jar()`

Method Summary
`groovy.lang.Closure` | `createAntArchiveTask()`
`AntJar` | `getAntJar()`
`java.lang.String` | `getFileSetManifest()`
`GradleManifest` | `getManifest()`
`java.util.List` | `getMetaInfResourceCollections()`
`void` | `setAntJar(AntJar antJar)`
`void` | `setFileSetManifest(java.lang.String fileSetManifest)`
`void` | `setManifest(GradleManifest manifest)`
`void` | `setMetaInfResourceCollections(java.util.List metaInfResourceCollections)`

Methods inherited from class Zip
getAntZip, setAntZip

Methods inherited from class AbstractArchiveTask
addFileSetInternal, antDirective, createAntArchiveTask, createFileSetInternal, fileSet, fileSet, from, generateArchive, getAllSource, getAppendix, getArchiveName, getArchivePath, getBaseDir, getBaseName, getClassifier, getCustomName, getDestinationDir, getExtension, getMergeFileSets, getMergeGroupFileSets, getResourceCollections, getVersion, merge, mergeGroup, resourceCollections, setAppendix, setBaseDir, setBaseName, setClassifier, setCreateIfEmpty, setCustomName, setDestinationDir, setExtension, setMergeFileSets, setMergeGroupFileSets, setResourceCollections, setVersion

Property Detail

### DEFAULT_EXTENSION

    public static final java.lang.String DEFAULT_EXTENSION

### antJar

    AntJar antJar

### fileSetManifest

    java.lang.String fileSetManifest

### manifest

    GradleManifest manifest

### metaInfResourceCollections

    java.util.List metaInfResourceCollections

Constructor Detail

### Jar

    public Jar()

Method Detail

### createAntArchiveTask

    groovy.lang.Closure createAntArchiveTask()

### getAntJar

    public AntJar getAntJar()

### getFileSetManifest

    public java.lang.String getFileSetManifest()

### getManifest

    public GradleManifest getManifest()

### getMetaInfResourceCollections

    public java.util.List getMetaInfResourceCollections()

### setAntJar

    public void setAntJar(AntJar antJar)

### setFileSetManifest

    public void setFileSetManifest(java.lang.String fileSetManifest)

### setManifest

    public void setManifest(GradleManifest manifest)

### setMetaInfResourceCollections

    public void setMetaInfResourceCollections(java.util.List metaInfResourceCollections)

Groovy Documentation