Groovy Documentation

Deprecated API


Interfaces
BuildableProject
      Represents a project which has Gradle tasks associated with it.
HierarchicalProject
      Represents a project which belongs to some hierarchy.
Project
      Represents a project of some kind.

Methods
ArtifactRepositoryContainer#addLast(java.lang.Object userDescription)
      Adds a repository to this container, at the end of the repository sequence.
ArtifactRepositoryContainer#addLast(java.lang.Object userDescription, groovy.lang.Closure configureClosure)
      Adds a resolver to this container, at the end of the resolver sequence.
Configuration#addArtifact(PublishArtifact artifact)
      Adds an artifact to be published to this configuration.
Configuration#addDependency(Dependency dependency)
      Adds a dependency to this configuration.
Configuration#getAllArtifactFiles()
      Returns the artifacts of this configuration as a FileCollection, including artifacts of extended configurations.
Configuration#getAllDependencies(java.lang.Class type)
      Gets the set of dependencies of type T for this configuration including those contributed by superconfigurations.
Configuration#getBuildArtifacts()
      Returns a TaskDependency object containing all required tasks to build the artifacts belonging to this configuration or to one of its super configurations.
Configuration#getDependencies(java.lang.Class type)
     

Gets the set of dependencies of type T directly contained in this configuration (ignoring superconfigurations).

Configuration#removeArtifact(PublishArtifact artifact)
      Removes an artifact from the artifacts to be published to this configuration.
DomainObjectCollection#allObjects(Action action)
      Executes the given action against all objects in this collection, and any objects subsequently added to this collection.
DomainObjectCollection#allObjects(groovy.lang.Closure action)
      Executes the given closure against all objects in this collection, and any objects subsequently added to this collection.
DomainObjectCollection#findAll(Spec spec)
      Returns a snapshot of the objects in this collection which meet the given specification.
DomainObjectCollection#getAll()
      Returns a snapshot of the objects in this collection (i.e. changes to this collection will not be reflected in the returned collection).
PluginCollection#allPlugins(Action action)
      Executes the given action against all plugins in this collection, and any plugins subsequently added to this collection.
PluginCollection#allPlugins(groovy.lang.Closure closure)
      Executes the given closure against all plugins in this collection, and any plugins subsequently added to this collection.
Project#absolutePath(java.lang.String path)
     

Converts a name to an absolute project path, resolving names relative to this project.

Project#captureStandardOutput(LogLevel level)
     

Starts redirection of standard output during to the logging system during project evaluation.

Project#createTask(java.lang.String name)
     

Creates a Task with the given name and adds it to this project.

Project#createTask(java.lang.String name, Action action)
     

Creates a Task with the given name and adds it to this project.

Project#createTask(java.util.Map args, java.lang.String name)
     

Creates a Task with the given name and adds it to this project.

Project#createTask(java.util.Map args, java.lang.String name, Action action)
     

Creates a Task with the given name and adds it to this project.

Project#createTask(java.lang.String name, groovy.lang.Closure action)
     

Creates a Task with the given name and adds it to this project.

Project#createTask(java.util.Map args, java.lang.String name, groovy.lang.Closure action)
     

Creates a Task with the given name and adds it to this project.

Project#setBuildDirName(java.lang.String buildDirName)
     

Sets the build directory name of this project.

Project#usePlugin(java.lang.String pluginId)
     

Applies a Plugin to this project.

Project#usePlugin(java.lang.Class pluginClass)
     

Applies a Plugin to this project.

Project#getLinks()
      The links to be added to this Eclipse project.
Project#setLinks(java.util.Set links)
      @deprecated Please use linkedResources
Script#captureStandardOutput(LogLevel level)
     

Starts redirection of standard output during to the logging system during script execution.

SourceSet#getClasses()
      Returns SourceSetOutput that extends FileCollection which means that it provides all output directories (compiled classes, processed resources, etc.)
SourceSet#getClassesDir()
      Returns the directory to assemble the compiled classes into.
SourceSet#setClassesDir(java.io.File classesDir)
      Sets the directory to assemble the compiled classes into.
Task#captureStandardOutput(LogLevel level)
     

Enables redirection of standard output during task execution to the logging system.

TaskCollection#allTasks(Action action)
      Executes the given action against all tasks in this collection, and any tasks subsequently added to this collection.
TaskCollection#allTasks(groovy.lang.Closure closure)
      Executes the given closure against all tasks in this collection, and any tasks subsequently added to this collection.


Groovy Documentation