|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface ResolvedConfiguration
A ResolvedConfiguration represents the result of resolving a Configuration, and provides access to both the artifacts and the meta-data of the result.
Method Summary | |
---|---|
Set
|
getFiles(Spec dependencySpec)
Returns the files for the specified subset of configuration dependencies. |
Set
|
getFirstLevelModuleDependencies()
Returns the ResolvedDependency instances for each direct dependency of the configuration. |
Set
|
getFirstLevelModuleDependencies(Spec dependencySpec)
Returns the ResolvedDependency instances for each direct dependency of the configuration that matches the given spec. |
LenientConfiguration
|
getLenientConfiguration()
Provides configuration that does not fail eagerly when some dependencies are not resolved. |
Set
|
getResolvedArtifacts()
Returns the set of artifact meta-data for this configuration. |
boolean
|
hasError()
Returns whether all dependencies were successfully retrieved or not. |
void
|
rethrowFailure()
A resolve of a configuration that is not successful does not automatically throws an exception. |
Method Detail |
---|
public Set getFiles(Spec dependencySpec)
dependencySpec
- The filter for the configuration dependencies.
public Set getFirstLevelModuleDependencies()
public Set getFirstLevelModuleDependencies(Spec dependencySpec)
dependencySpec
- A filter for the dependencies to be resolved.
public LenientConfiguration getLenientConfiguration()
public Set getResolvedArtifacts()
public boolean hasError()
public void rethrowFailure()
Gradle API 1.12