| 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 | |
| org.gradle.api.internal.artifacts | |
| org.gradle.api.internal.artifacts.configurations | |
| org.gradle.api.internal.tasks | |
| org.gradle.api.plugins |
The standard
Plugin implementations. |
| Modifier and Type | Class and Description |
|---|---|
class |
UnknownProjectException
An
UnknownProjectException is thrown when a project referenced by path cannot be found. |
class |
UnknownTaskException
An
UnknownTaskException is thrown when a task referenced by path cannot be found. |
| Modifier and Type | Method and Description |
|---|---|
T |
NamedDomainObjectCollection.getAt(String name)
Locates an object by name, failing if there is no such task.
|
T |
NamedDomainObjectCollection.getByName(String name)
Locates an object by name, failing if there is no such object.
|
T |
NamedDomainObjectCollection.getByName(String name,
Closure configureClosure)
Locates an object by name, failing if there is no such object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnknownConfigurationException
An
UnknownConfigurationException is thrown when a configuration referenced by name cannot be found. |
class |
UnknownRepositoryException
An
UnknownRepositoryException is thrown when a repository referenced by name cannot be found. |
| Modifier and Type | Method and Description |
|---|---|
protected UnknownDomainObjectException |
DefaultNamedDomainObjectCollection.createNotFoundException(String name) |
| Modifier and Type | Method and Description |
|---|---|
T |
DefaultNamedDomainObjectCollection.getAt(String name) |
T |
DefaultNamedDomainObjectCollection.getByName(String name) |
T |
DefaultNamedDomainObjectCollection.getByName(String name,
Closure configureClosure) |
| Modifier and Type | Method and Description |
|---|---|
protected UnknownDomainObjectException |
DefaultArtifactRepositoryContainer.createNotFoundException(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected UnknownDomainObjectException |
DefaultConfigurationContainer.createNotFoundException(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected UnknownDomainObjectException |
DefaultTaskCollection.createNotFoundException(String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
ExtensionContainer.getByName(String name)
Looks for the extension of a given name.
|
<T> T |
ExtensionContainer.getByType(Class<T> type)
Looks for the extension of a given type (useful to avoid casting).
|
Copyright © 2013. All rights reserved