# Package org.gradle.api.tasks

## Package org.gradle.api.tasks Description

The standard Task implementations.

- Interface Summary
  Interface | Description
  --- | ---
  AntBuilderAware | An `AntBuilderAware` represents an object which can add itself to Ant tasks, using an AntBuilder.
  ConventionValue | A ConventionValue can be assigned to a org.gradle.api.internal.IConventionAware task.
  GroovySourceSet | A `GroovySourceSetConvention` defines the properties and methods added to a SourceSet by the GroovyPlugin.
  ScalaSourceSet | A `ScalaSourceSetConvention` defines the properties and methods added to a SourceSet by the `ScalaPlugin`.
  SourceSet | A `SourceSet` represents a logical group of Java source and resources.
  SourceSetContainer | A `SourceSetContainer` manages a set of SourceSet objects.
  SourceSetOutput | A collection of all output directories (compiled classes, processed resources, etc.) - notice that SourceSetOutput extends FileCollection.
  TaskCollection | A `TaskCollection` contains a set of Task instances, and provides a number of query methods.
  TaskContainer |
  TaskDependency |
  TaskInputs |
  TaskOutputs |
  TaskState | `TaskState` provides information about the execution state of a Task.
  VerificationTask | A `VerificationTask` is a task which performs some verification of the artifacts produced by a build.
  WorkResult | Provides information about some work which was performed.

- Class Summary
  Class | Description
  --- | ---
  AbstractCopyTask | `AbstractCopyTask` is the base class for all copy tasks.
  AbstractExecTask | `AbstractExecTask` is the base class for all exec tasks.
  Copy | Copies files into a destination directory.
  Delete |
  Exec | Executes a command line process.
  GradleBuild | Executes a Gradle build.
  GroovyRuntime | Provides information related to the Groovy runtime(s) used in a project.
  JavaExec | Executes a Java application in a child process.
  ScalaRuntime | Provides information related to the Scala runtime(s) used in a project.
  SourceTask | A `SourceTask` performs some operation on source files.
  Sync | Synchronises the contents of a destination directory with some source directories and files.
  Upload | Uploads the artifacts of a Configuration to a set of repositories.

- Exception Summary
  Exception | Description
  --- | ---
  StopActionException |
  StopExecutionException |
  TaskExecutionException |
  TaskInstantiationException | A `TaskInstantiationException` is thrown when a task cannot be instantiated for some reason.
  TaskValidationException | A `TaskValidationException` is thrown when there is some validation problem with a task.

- Annotation Type Summary
  Annotation Type | Description
  --- | ---
  Input |
  InputDirectory |
  InputFile |
  InputFiles |
  Nested |
  Optional |
  OutputDirectories |
  OutputDirectory |
  OutputFile |
  OutputFiles |
  ParallelizableTask | Declares that the associated task can be safely executed in parallel with other tasks.
  SkipWhenEmpty |
  TaskAction | Marks a method as the action to run when the task is executed.