|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
@Incubating public interface ResolutionResult
Contains the information about the result of dependency resolution. You can use this type to determine all the component instances that are included in the resolved dependency graph, and the dependencies between them.
Method Summary | |
---|---|
void
|
allComponents(Action action)
Applies given action for each component. |
void
|
allComponents(Closure closure)
Applies given closure for each component. |
void
|
allDependencies(Action action)
Applies given action for each dependency. |
void
|
allDependencies(Closure closure)
Applies given closure for each dependency. |
Set
|
getAllComponents()
Retrieves all instances of ResolvedComponentResult from the graph, e.g. all nodes of the dependency graph. |
Set
|
getAllDependencies()
Retrieves all dependencies, including unresolved dependencies. |
ResolvedComponentResult
|
getRoot()
Gives access to the root of resolved dependency graph. |
Method Detail |
---|
public void allComponents(Action action)
action
- - action that is applied for each component
public void allComponents(Closure closure)
closure
- - closure that is applied for each component
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 Set getAllComponents()
public Set getAllDependencies()
public ResolvedComponentResult getRoot()
Gradle API 1.12