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)
     
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).
IvyArtifactRepository#getPassword()
      Returns the password to use for authentication with this repository, if any.
IvyArtifactRepository#getUserName()
      Returns the username to use for authentication with this repository, if any.
IvyArtifactRepository#setPassword(java.lang.String password)
      Sets the password to use for authentication with this repository, if any.
IvyArtifactRepository#setUserName(java.lang.String username)
      Sets the username to use for authentication with this repository, if any.
MavenPluginConvention#getPomDir()
      Returns the directory to generate Maven POMs into.
MavenPluginConvention#getPomDirName()
      Returns the name of the directory to generate Maven POMs into, relative to the build directory.
MavenPluginConvention#setPomDirName(java.lang.String pomDirName)
      Sets the name of the directory to generate Maven POMs into, relative to the build directory.
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)
     
Project#captureStandardOutput(LogLevel level)
     
Project#createTask(java.lang.String name)
     
Project#createTask(java.lang.String name, Action action)
     
Project#createTask(java.util.Map args, java.lang.String name)
     
Project#createTask(java.util.Map args, java.lang.String name, Action action)
     
Project#createTask(java.lang.String name, groovy.lang.Closure action)
     
Project#createTask(java.util.Map args, java.lang.String name, groovy.lang.Closure action)
     
Project#setBuildDirName(java.lang.String buildDirName)
     
Project#usePlugin(java.lang.String pluginId)
     
Project#usePlugin(java.lang.Class pluginClass)
     
Project#getLinks()
      The links to be added to this Eclipse project.
Project#setLinks(java.util.Set links)
      @deprecated Please use linkedResources
RepositoryHandler#getMavenPomDir()
      Returns the directory to write generated poms to.
ResolvedArtifact#getResolvedDependency()
      Returns one of the dependencies which this artifact belongs to.
Script#captureStandardOutput(LogLevel level)
     
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)
     
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.
TestLogging#setShowStandardStream(boolean standardStreams)
      Deprecated for naming consistency reasons, please use setShowStandardStreams(boolean)


Groovy Documentation