| Package | Description |
|---|---|
| org.gradle.api.artifacts |
Classes for declaring and using artifacts and artifact dependencies.
|
| org.gradle.api.artifacts.dsl |
Classes used in the artifact DSL.
|
| org.gradle.api.internal.artifacts | |
| org.gradle.api.internal.artifacts.configurations | |
| org.gradle.api.internal.artifacts.dependencies | |
| org.gradle.api.internal.artifacts.dsl.dependencies | |
| org.gradle.api.internal.artifacts.ivyservice | |
| org.gradle.api.internal.notations |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClientModule
To model a module in your dependency declarations.
|
interface |
ExternalDependency
An
ExternalDependency is a Dependency on a source outside the current project hierarchy. |
interface |
ExternalModuleDependency
A
ModuleDependency is a Dependency on a module outside the current project hierarchy. |
interface |
FileCollectionDependency
A
FileCollectionDependency is a Dependency on a collection of local files which are not stored in a
repository. |
interface |
ModuleDependency
A
ModuleDependency is a Dependency on a module outside the current
project. |
interface |
ProjectDependency
A
ProjectDependency is a Dependency on another project in the current project hierarchy. |
interface |
SelfResolvingDependency
A
SelfResolvingDependency is a Dependency which is able to resolve itself, independent of a
repository. |
| Modifier and Type | Method and Description |
|---|---|
Dependency |
Dependency.copy()
Creates and returns a new dependency with the property values of this one.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Dependency.contentEquals(Dependency dependency)
Returns whether two dependencies have identical values for their properties.
|
Configuration |
ConfigurationContainer.detachedConfiguration(Dependency... dependencies)
Creates a configuration, but does not add it to this container.
|
FileCollection |
Configuration.fileCollection(Dependency... dependencies)
Resolves this configuration lazily.
|
Set<File> |
Configuration.files(Dependency... dependencies)
Resolves this configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Configuration |
Configuration.copy(Spec<? super Dependency> dependencySpec)
Creates a copy of this configuration ignoring superconfigurations (see
Configuration.copy() but filtering
the dependencies using the specified dependency spec. |
Configuration |
Configuration.copyRecursive(Spec<? super Dependency> dependencySpec)
Creates a copy of this configuration with dependencies from superconfigurations (see
Configuration.copyRecursive())
but filtering the dependencies using the dependencySpec. |
FileCollection |
Configuration.fileCollection(Spec<? super Dependency> dependencySpec)
Resolves this configuration lazily.
|
Set<File> |
Configuration.files(Spec<? super Dependency> dependencySpec)
Resolves this configuration.
|
Set<File> |
ResolvedConfiguration.getFiles(Spec<? super Dependency> dependencySpec)
Returns the files for the specified subset of configuration dependencies.
|
Set<File> |
LenientConfiguration.getFiles(Spec<? super Dependency> dependencySpec)
returns successfully resolved files for successfully resolved dependencies
|
Set<ResolvedDependency> |
ResolvedConfiguration.getFirstLevelModuleDependencies(Spec<? super Dependency> dependencySpec)
Returns the
ResolvedDependency instances for each direct dependency of the configuration that matches
the given spec. |
Set<ResolvedDependency> |
LenientConfiguration.getFirstLevelModuleDependencies(Spec<? super Dependency> dependencySpec)
returns successfully resolved dependencies
|
| Modifier and Type | Method and Description |
|---|---|
Dependency |
DependencyHandler.add(String configurationName,
Object dependencyNotation)
Adds a dependency to the given configuration.
|
Dependency |
DependencyHandler.add(String configurationName,
Object dependencyNotation,
Closure configureClosure)
Adds a dependency to the given configuration, and configures the dependency using the given closure.
|
Dependency |
DependencyHandler.create(Object dependencyNotation)
Creates a dependency without adding it to a configuration.
|
Dependency |
DependencyHandler.create(Object dependencyNotation,
Closure configureClosure)
Creates a dependency without adding it to a configuration, and configures the dependency using
the given closure.
|
Dependency |
DependencyHandler.gradleApi()
Creates a dependency on the API of the current version of Gradle.
|
Dependency |
DependencyHandler.localGroovy()
Creates a dependency on the Groovy that is distributed with the current version of Gradle.
|
Dependency |
DependencyHandler.module(Object notation)
Creates a dependency on a client module.
|
Dependency |
DependencyHandler.module(Object notation,
Closure configureClosure)
Creates a dependency on a client module.
|
Dependency |
DependencyHandler.project(Map<String,?> notation)
Creates a dependency on a project.
|
| Modifier and Type | Method and Description |
|---|---|
Dependency |
DefaultDependencyFactory.createDependency(Object dependencyNotation) |
| Constructor and Description |
|---|
DefaultDependencySet(String displayName,
DomainObjectSet<Dependency> backingSet) |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
DefaultConfigurationContainer.detachedConfiguration(Dependency... dependencies) |
FileCollection |
DefaultConfiguration.fileCollection(Dependency... dependencies) |
Set<File> |
DefaultConfiguration.files(Dependency... dependencies) |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
DefaultConfiguration.copy(Spec<? super Dependency> dependencySpec) |
Configuration |
DefaultConfiguration.copyRecursive(Spec<? super Dependency> dependencySpec) |
FileCollection |
DefaultConfiguration.fileCollection(Spec<? super Dependency> dependencySpec) |
Set<File> |
DefaultConfiguration.files(Spec<? super Dependency> dependencySpec) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDependency |
class |
AbstractExternalDependency |
class |
AbstractModuleDependency |
class |
DefaultClientModule |
class |
DefaultExternalModuleDependency |
class |
DefaultProjectDependency |
class |
DefaultSelfResolvingDependency |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultSelfResolvingDependency.contentEquals(Dependency dependency) |
boolean |
DefaultProjectDependency.contentEquals(Dependency dependency) |
boolean |
DefaultExternalModuleDependency.contentEquals(Dependency dependency) |
boolean |
DefaultClientModule.contentEquals(Dependency dependency) |
| Modifier and Type | Method and Description |
|---|---|
Dependency |
DependencyFactory.createDependency(Object dependencyNotation) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.ivy.core.module.id.ModuleRevisionId |
IvyUtil.createModuleRevisionId(Dependency dependency) |
static org.apache.ivy.core.module.id.ModuleRevisionId |
IvyUtil.createModuleRevisionId(Dependency dependency,
Map<String,String> extraAttributes) |
| Modifier and Type | Method and Description |
|---|---|
Set<File> |
DefaultResolvedConfiguration.getFiles(Spec<? super Dependency> dependencySpec) |
Set<File> |
DefaultLenientConfiguration.getFiles(Spec<? super Dependency> dependencySpec) |
Set<File> |
DefaultLenientConfiguration.getFilesStrict(Spec<? super Dependency> dependencySpec) |
Set<ResolvedDependency> |
DefaultResolvedConfiguration.getFirstLevelModuleDependencies(Spec<? super Dependency> dependencySpec) |
Set<ResolvedDependency> |
DefaultLenientConfiguration.getFirstLevelModuleDependencies(Spec<? super Dependency> dependencySpec) |
| Modifier and Type | Method and Description |
|---|---|
Dependency |
DependencyNotationParser.parseNotation(Object dependencyNotation) |
| Constructor and Description |
|---|
DependencyNotationParser(Iterable<NotationParser<? extends Dependency>> compositeParsers) |
Copyright © 2013. All rights reserved