Package org.gradle.api.tasks
@NonNullApi
package org.gradle.api.tasks
The standard
Task
implementations.-
ClassDescription
AbstractCopyTask
is the base class for all copy tasks.AbstractExecTask<T extends AbstractExecTask>AbstractExecTask
is the base class for all exec tasks.AnAntBuilderAware
represents an object which can add itself to Ant tasks, using anAntBuilder
.Attached to a task type to indicate that task output caching should be enabled by default for tasks of this type.Marks a property as specifying a JVM classpath for a task.Normalizes file input that represents a Java runtime classpath.Marks a property as specifying a Java compile classpath for a task.Normalizes file input that represents a Java compile classpath.Attached to a task property to indicate that the property is not to be taken into account for up-to-date checking, because its value only influences the console output of the task.Copies files into a destination directory.Deletes files or directories.Marks a property as specifying a file or directory that a task destroys.Executes a command line process.A normalizer used to remove unwanted noise when considering file inputs.Executes a Gradle build.Provides information related to the Groovy runtime(s) used in a project.Represents a Groovy source set.Deprecated.Using convention to contribute to source sets is deprecated.Attached to an input property to specify that directories should be ignored when snapshotting inputs.Attached to a task property to indicate that the property specifies some input value for the task.Marks a property as specifying an input directory for a task.Marks a property as specifying an input file for a task.Marks a property as specifying the input files for a task.Attached to a task property to indicate that the property is not to be taken into account for up-to-date checking.Executes a Java application in a child process.Marks a property as specifying local state for a task.Marks a property as specifying a nested bean, whose properties should be checked for annotations.Marks a task property as optional.Marks a property as specifying one or more output directories for a task.Marks a property as specifying an output directory for a task.Marks a property as specifying an output file for a task.Marks a property as specifying one or more output files for a task.Annotates a task file property, specifying which part of the file paths should be considered during up-to-date checks.Enumeration of different path handling strategies for task properties.Provides information related to the Scala runtime(s) used in a project.AScalaSourceDirectorySet
defines the properties and methods added to aSourceSet
by theScalaPlugin
.Deprecated.Using conventions to contribute source sets is deprecated.Attached to a task property to indicate that the task should be skipped when the value of the property is an emptyFileCollection
or directory.ASourceSet
represents a logical group of Java source and resource files.ASourceSetContainer
manages a set ofSourceSet
objects.A collection of all output directories (compiled classes, processed resources, etc.) - notice thatSourceSetOutput
extendsFileCollection
.ASourceTask
performs some operation on source files.AStopActionException
is be thrown by a taskAction
or task action closure to stop its own execution and to start execution of the task's next action.AStopExecutionException
is thrown by aAction
or task action closure to stop execution of the current task and start execution of the next task.Synchronizes the contents of a destination directory with some source directories and files.Marks a method as the action to run when the task is executed.TaskCollection<T extends Task>ATaskCollection
contains a set ofTask
instances, and provides a number of query methods.ATaskContainer
is responsible for managing a set ofTask
instances.ATaskDependency
represents an unordered set of tasks which aTask
depends on.Represents the files or directories that aTask
destroys (removes).ATaskExecutionException
is thrown when a task fails to execute successfully.Describes a property of a task that contains zero or more files.Describes an input property of a task that contains zero or more files.Describes an input property of a task.ATaskInputs
represents the inputs for a task.ATaskInstantiationException
is thrown when a task cannot be instantiated for some reason.Represents the files or directories that represent the local state of aTask
.Describes an output property of a task that contains zero or more files.ATaskOutputs
represents the outputs of a task.Describes a property of a task.TaskProvider<T extends Task>Providers a task of the given type.A lightweight reference to a task.TaskState
provides information about the execution state of aTask
.Attached to a task to declare that the task should be untracked.Deprecated.This class is scheduled for removal in a future version.Signals that a task has failed in a manner which does not prevent consumers of that task's output from running.AVerificationTask
is a task which performs some verification of the artifacts produced by a build.Provides information about some work which was performed.Helps access trivialWorkResult
objects.Writes aProperties
in a way that the results can be expected to be reproducible.