Groovy Documentation

Deprecated API


Methods
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.
Gradle#getGradleHomeDir()
     

Returns the Gradle home directory, if any.

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.

Script#captureStandardOutput(LogLevel level)
     

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

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