org.gradle.jvm

## Interface JarBinarySpec.TasksCollection

- All Superinterfaces:
    BinaryTasksCollection, Collection<Task>, DomainObjectCollection<Task>, DomainObjectSet<Task>, Iterable<Task>, Set<Task>
  Enclosing interface:
    JarBinarySpec

      public static interface JarBinarySpec.TasksCollection
      extends BinaryTasksCollection

  Provides access to key tasks used for building the binary.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Task` | `getJar()` The jar task used to create an archive for this binary.

    - ### Methods inherited from interface org.gradle.platform.base.BinaryTasksCollection

      `create, getBuild, taskName, taskName`

    - ### Methods inherited from interface org.gradle.api.DomainObjectSet

      `findAll, matching, matching, withType`

    - ### Methods inherited from interface org.gradle.api.DomainObjectCollection

      `all, all, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType`

    - ### Methods inherited from interface java.util.Set

      `add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray`

- - ### Method Detail

    - #### getJar

          Task getJar()

      The jar task used to create an archive for this binary.