Package org.gradle.api

Start Here: Gradle's Project API, which is available from your build files.

See:
          Description

Interface Summary
Action<T> Performs some action against objects of type T.
DomainObjectCollection<T> A DomainObjectCollection represents a read-only set of domain objects of type T.
DomainObjectContainer<T> A DomainObjectContainer represents a mutable collection of domain objects of type T.
Plugin A Plugin represents an extension to Gradle, which you can use to add behaviour your Project.
Project This interface is the main API you use to interact with Gradle from your build file.
ProjectAction A ProjectAction performs some action on a Project.
ProjectEvaluationListener An ProjectEvaluationListener is notified when a project is evaluated.
Rule A Rule represents some action to perform when an unknown domain object is referenced.
Task A Task represents a single step of a build, such as compiling classes or generating javadoc.
TaskAction A TaskAction performs some action on a Task.
Transformer<T> A Transformer transforms objects of type T.
 

Class Summary
AntBuilder An AntBuilder allows you to use Ant from your build script.
 

Enum Summary
JavaVersion An enumeration of Java versions.
PathValidation An enumeration for describing validation policies for file paths.
 

Exception Summary
CircularReferenceException A CircularReferenceException is thrown if circular references exists between tasks, the project evaluation order or the project dependsOn order.
GradleException GradleException is the base class of all exceptions thrown by Gradle.
GradleScriptException A GradleScriptException is thrown when an exception occurs in the parsing or execution of a script.
IllegalDependencyNotation This exceptions is thrown, if a dependency is declared with a ilegal notation.
IllegalOperationAtExecutionTimeException A IllegalOperationAtExecutionTimeException is thrown if you try to trigger an operation at runtime, which is only allowed at configuration time.
InvalidUserDataException A InvalidUserDataException is thrown, if a user is providing illegal data for the build.
UncheckedIOException UncheckedIOException is used to wrap an java.io.IOException into an unchecked exception.
UnknownDomainObjectException A UnknownDomainObjectException is the super class of all exceptions thrown when a given domain object cannot be located.
UnknownProjectException An UnknownProjectException is thrown when a project referenced by path cannot be found.
UnknownTaskException An UnknownTaskException is thrown when a task referenced by path cannot be found.
 

Package org.gradle.api Description

Start Here: Gradle's Project API, which is available from your build files. The API used from your build files is made up of 2 main interfaces: