Package-level declarations

The standard org.gradle.api.Task implementations.

Types

Link copied to clipboard
@DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
abstract class AbstractCopyTask : ConventionTask, CopySpec, CopySpecSource
AbstractCopyTask is the base class for all copy tasks.
Link copied to clipboard
@DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
abstract class AbstractExecTask<T : AbstractExecTask?> : ConventionTask, ExecSpec
AbstractExecTask is the base class for all exec tasks.
Link copied to clipboard
interface AntBuilderAware
An AntBuilderAware represents an object which can add itself to Ant tasks, using an org.gradle.api.AntBuilder.
Link copied to clipboard
Attached to a task type to indicate that task output caching should be enabled by default for tasks of this type.
Link copied to clipboard
Marks a property as specifying a JVM classpath for a task.
Link copied to clipboard
Normalizes file input that represents a Java runtime classpath.
Link copied to clipboard
Marks a property as specifying a Java compile classpath for a task.
Link copied to clipboard
Normalizes file input that represents a Java compile classpath.
Link copied to clipboard
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.
Link copied to clipboard
@DisableCachingByDefault(because = "Not worth caching")
abstract class Copy : AbstractCopyTask
Copies files into a destination directory.
Link copied to clipboard
@DisableCachingByDefault(because = "Deletion cannot be cached")
abstract class Delete : ConventionTask, DeleteSpec
Deletes files or directories.
Link copied to clipboard
Marks a property as specifying a file or directory that a task destroys.
Link copied to clipboard
@DisableCachingByDefault(because = "Gradle would require more information to cache this task")
abstract class Exec : AbstractExecTask<T>
Executes a command line process.
Link copied to clipboard
interface FileNormalizer
A normalizer used to remove unwanted noise when considering file inputs.
Link copied to clipboard
@DisableCachingByDefault(because = "Child Gradle build will do its own caching")
abstract class GradleBuild : ConventionTask
Executes a Gradle build.
Link copied to clipboard
abstract class GroovyRuntime
Provides information related to the Groovy runtime(s) used in a project.
Link copied to clipboard
Represents a Groovy source set.
Link copied to clipboard
interface GroovySourceSet
A GroovySourceSet defines the properties and methods added to a SourceSet by the .
Link copied to clipboard
Attached to an input property to specify that directories should be ignored when snapshotting inputs.
Link copied to clipboard
Attached to a task property to indicate that the property specifies some input value for the task.
Link copied to clipboard
Marks a property as specifying an input directory for a task.
Link copied to clipboard
Marks a property as specifying an input file for a task.
Link copied to clipboard
Marks a property as specifying the input files for a task.
Link copied to clipboard
Attached to a task property to indicate that the property is not to be taken into account for up-to-date checking.
Link copied to clipboard
@DisableCachingByDefault(because = "Gradle would require more information to cache this task")
abstract class JavaExec : ConventionTask, JavaExecSpec
Executes a Java application in a child process.
Link copied to clipboard
Marks a property as specifying local state for a task.
Link copied to clipboard
Marks a property as specifying a nested bean, whose properties should be checked for annotations.
Link copied to clipboard
Marks a task property as optional.
Link copied to clipboard
Marks a property as specifying one or more output directories for a task.
Link copied to clipboard
Marks a property as specifying an output directory for a task.
Link copied to clipboard
Marks a property as specifying an output file for a task.
Link copied to clipboard
Marks a property as specifying one or more output files for a task.
Link copied to clipboard
Annotates a task file property, specifying which part of the file paths should be considered during up-to-date checks.
Link copied to clipboard
Enumeration of different path handling strategies for task properties.
Link copied to clipboard
abstract class ScalaRuntime
Provides information related to the Scala runtime(s) used in a project.
Link copied to clipboard
A ScalaSourceDirectorySet defines the properties and methods added to a org.gradle.api.tasks.SourceSet by the ScalaPlugin.
Link copied to clipboard
interface ScalaSourceSet
A ScalaSourceSet defines the properties and methods added to a by the ScalaPlugin.
Link copied to clipboard
Attached to a task property to indicate that the task should be skipped when the value of the property is an empty org.gradle.api.file.FileCollection or directory.
Link copied to clipboard
A SourceSet represents a logical group of Java source and resource files.
Link copied to clipboard
A SourceSetContainer manages a set of SourceSet objects.
Link copied to clipboard
A collection of all output directories (compiled classes, processed resources, etc.
Link copied to clipboard
@DisableCachingByDefault(because = "Super-class, not to be instantiated directly")
abstract class SourceTask : ConventionTask, PatternFilterable
A SourceTask performs some operation on source files.
Link copied to clipboard
A StopActionException is be thrown by a task org.gradle.api.Action or task action closure to stop its own execution and to start execution of the task's next action.
Link copied to clipboard
A StopExecutionException is thrown by a org.gradle.api.Action or task action closure to stop execution of the current task and start execution of the next task.
Link copied to clipboard
@DisableCachingByDefault(because = "Not worth caching")
abstract class Sync : AbstractCopyTask
Synchronizes the contents of a destination directory with some source directories and files.
Link copied to clipboard
Marks a method as the action to run when the task is executed.
Link copied to clipboard
A TaskCollection contains a set of Task instances, and provides a number of query methods.
Link copied to clipboard
A TaskContainer is responsible for managing a set of Task instances.
Link copied to clipboard
interface TaskDependency
A TaskDependency represents an unordered set of tasks which a Task depends on.
Link copied to clipboard
Represents the files or directories that a org.gradle.api.Task destroys (removes).
Link copied to clipboard
open class TaskExecutionException : DefaultMultiCauseException
A TaskExecutionException is thrown when a task fails to execute successfully.
Link copied to clipboard
Describes a property of a task that contains zero or more files.
Link copied to clipboard
Describes an input property of a task that contains zero or more files.
Link copied to clipboard
Describes an input property of a task.
Link copied to clipboard
interface TaskInputs
A TaskInputs represents the inputs for a task.
Link copied to clipboard
A TaskInstantiationException is thrown when a task cannot be instantiated for some reason.
Link copied to clipboard
interface TaskLocalState
Represents the files or directories that represent the local state of a org.gradle.api.Task.
Link copied to clipboard
Describes an output property of a task that contains zero or more files.
Link copied to clipboard
interface TaskOutputs
A TaskOutputs represents the outputs of a task.
Link copied to clipboard
Describes a property of a task.
Link copied to clipboard
Providers a task of the given type.
Link copied to clipboard
interface TaskReference : Named
A lightweight reference to a task.
Link copied to clipboard
interface TaskState
TaskState provides information about the execution state of a org.gradle.api.Task.
Link copied to clipboard
Attached to a task to declare that the task should be untracked.
Link copied to clipboard
@DisableCachingByDefault(because = "Produces no cacheable output")
abstract class Upload : ConventionTask
This task is no longer supported and will throw an exception if you try to use it.
Link copied to clipboard
Signals that a task has failed in a manner which does not prevent consumers of that task's output from running.
Link copied to clipboard
A VerificationTask is a task which performs some verification of the artifacts produced by a build.
Link copied to clipboard
interface WorkResult
Provides information about some work which was performed.
Link copied to clipboard
open class WorkResults
Helps access trivial WorkResult objects.
Link copied to clipboard
Writes a java.util.Properties in a way that the results can be expected to be reproducible.