Groovy Documentation

Package org.gradle.api

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

 

Interface Summary
Action Performs some action against objects of type T.
Buildable A Buildable represents an artifact or set of artifacts which are built by one or more Task instances.
DomainObjectCollection
DomainObjectSet
Named Types can implement this interface and use the embedded Namer implementation, to satisfy API that calls for a namer.
NamedDomainObjectCollection
NamedDomainObjectContainer
NamedDomainObjectFactory A factory for named objects of type T.
NamedDomainObjectList
NamedDomainObjectSet
Namer A namer is capable of providing a name based on some inherent characteristic of an object.
Plugin
Project
ProjectEvaluationListener
ProjectState ProjectState provides information about the execution state of a project.
Rule
Script
Task
Transformer
XmlProvider Provides various ways to access the content of an XML document.
 


Class Summary
AntBuilder
DefaultTask DefaultTask is the standard Task implementation.
Named.Namer An implementation of the namer interface for objects implementing the named interface.
Namer.Comparator A comparator implementation based on the names returned by the given namer.
Task.Namer A Namer namer for tasks that returns getName().
 


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


Exception Summary
CircularReferenceException
GradleException
GradleScriptException
IllegalDependencyNotation This exceptions is thrown, if a dependency is declared with a illegal 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
UnknownProjectException
UnknownTaskException
 


Annotation Type Summary
Nullable Indicates that the value of an element can be null.
 


Gradle API 1.0