| Package | Description |
|---|---|
| org.gradle.api |
Start Here: Gradle's
Project API, which is available from your build files. |
| org.gradle.api.artifacts |
Classes for declaring and using artifacts and artifact dependencies.
|
| org.gradle.api.internal.tasks | |
| org.gradle.api.plugins |
The standard
Plugin implementations. |
| org.gradle.api.tasks |
The standard
Task implementations. |
| org.gradle.execution | |
| org.gradle.initialization |
| Modifier and Type | Class and Description |
|---|---|
class |
IllegalOperationAtExecutionTimeException
A
IllegalOperationAtExecutionTimeException is thrown if you try to trigger an operation at runtime,
which is only allowed at configuration time. |
| Modifier and Type | Method and Description |
|---|---|
T |
NamedDomainObjectContainer.create(String name)
Creates a new item with the given name, adding it to this container.
|
T |
NamedDomainObjectContainer.create(String name,
Closure configureClosure)
Creates a new item with the given name, adding it to this container, then configuring it with the given closure.
|
File |
Script.file(Object path,
PathValidation validation)
Resolves a file path relative to the directory containing this script and validates it using the given scheme.
|
File |
Project.file(Object path,
PathValidation validation)
Resolves a file path relative to the project directory of this project and validates it using the given
scheme.
|
Task |
Project.task(Map<String,?> args,
String name)
Creates a
Task with the given name and adds it to this project. |
Task |
Project.task(String name)
Creates a
Task with the given name and adds it to this project. |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
ConfigurationContainer.add(String name)
Adds a configuration with the given name.
|
Configuration |
ConfigurationContainer.add(String name,
Closure configureClosure)
Adds a configuration with the given name.
|
org.apache.ivy.plugins.resolver.DependencyResolver |
ArtifactRepositoryContainer.addAfter(Object userDescription,
String previousResolver)
Adds a resolver to this container, after the given resolver.
|
org.apache.ivy.plugins.resolver.DependencyResolver |
ArtifactRepositoryContainer.addAfter(Object userDescription,
String previousResolver,
Closure configureClosure)
Adds a resolver to this container, after the given resolver.
|
org.apache.ivy.plugins.resolver.DependencyResolver |
ArtifactRepositoryContainer.addBefore(Object userDescription,
String nextResolver)
Adds a resolver to this container, before the given resolver.
|
org.apache.ivy.plugins.resolver.DependencyResolver |
ArtifactRepositoryContainer.addBefore(Object userDescription,
String nextResolver,
Closure configureClosure)
Adds a resolver to this container, before the given resolver.
|
org.apache.ivy.plugins.resolver.DependencyResolver |
ArtifactRepositoryContainer.addFirst(Object userDescription)
Adds a resolver to this container, at the start of the resolver sequence.
|
org.apache.ivy.plugins.resolver.DependencyResolver |
ArtifactRepositoryContainer.addFirst(Object userDescription,
Closure configureClosure)
Adds a resolver to this container, at the start of the resolver sequence.
|
org.apache.ivy.plugins.resolver.DependencyResolver |
ArtifactRepositoryContainer.addLast(Object userDescription)
Deprecated.
|
org.apache.ivy.plugins.resolver.DependencyResolver |
ArtifactRepositoryContainer.addLast(Object userDescription,
Closure configureClosure)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Task |
DefaultTaskContainer.add(Map<String,?> options,
Closure configureClosure) |
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtraPropertiesExtension.UnknownPropertyException
The exception that will be thrown when an attempt is made to read a property that is not set.
|
class |
UnknownPluginException
A
UnknownPluginException is thrown when an unknown plugin id is provided. |
| Modifier and Type | Method and Description |
|---|---|
Task |
TaskContainer.add(Map<String,?> options)
Creates a
Task and adds it to this container. |
Task |
TaskContainer.add(Map<String,?> options,
Closure configureClosure)
Creates a
Task adds it to this container. |
SourceSet |
SourceSetContainer.add(String name)
Adds a source set with the given name.
|
Task |
TaskContainer.add(String name)
Creates a
Task with the given name and adds it to this container. |
<T extends Task> |
TaskContainer.add(String name,
Class<T> type)
Creates a
Task with the given name and type, and adds it to this container. |
SourceSet |
SourceSetContainer.add(String name,
Closure configureClosure)
Adds a source set with the given name.
|
Task |
TaskContainer.add(String name,
Closure configureClosure)
Creates a
Task with the given name adds it to this container. |
| Constructor and Description |
|---|
TaskValidationException(String message,
List<InvalidUserDataException> causes) |
| Modifier and Type | Class and Description |
|---|---|
class |
TaskSelectionException
A
TaskSelectionException is thrown when the tasks to execute cannot be selected due to some user input
problem. |
| Modifier and Type | Method and Description |
|---|---|
<T extends ProjectIdentifier> |
ProjectSpec.selectProject(IProjectRegistry<? extends T> registry)
Returns the single project in the given registry which meets this spec.
|
Copyright © 2013. All rights reserved