|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
@Incubating public interface ResolutionResult
Contains the information about the resolution result. Gives access to the resolved dependency graph. In future it will contain more convenience methods and other useful information about the resolution results.
Method Summary | |
---|---|
void
|
allDependencies(Action action)
Applies given action for each dependency. |
void
|
allDependencies(Closure closure)
Applies given closure for each dependency. |
void
|
allModuleVersions(Action action)
Applies given action for each module. |
void
|
allModuleVersions(Closure closure)
Applies given closure for each module. |
Set
|
getAllDependencies()
Retrieves all dependencies, including unresolved dependencies. |
Set
|
getAllModuleVersions()
Retrieves all instances of ResolvedModuleVersionResult from the graph, e.g. all nodes of the dependency graph. |
ResolvedModuleVersionResult
|
getRoot()
Gives access to the resolved dependency graph. |
Method Detail |
---|
public void allDependencies(Action action)
action
- - action that is applied for each dependency
public void allDependencies(Closure closure)
closure
- - closure that is applied for each dependency
public void allModuleVersions(Action action)
action
- - action that is applied for each module
public void allModuleVersions(Closure closure)
closure
- - closure that is applied for each module
public Set getAllDependencies()
public Set getAllModuleVersions()
public ResolvedModuleVersionResult getRoot()
Gradle API 1.8