public interface ResolvableDependencies
Dependency
objects which can be resolved to a set of File
instances.修飾子とタイプ | メソッドと説明 |
---|---|
void |
afterResolve(Action<? super ResolvableDependencies> action)
Adds an action to be executed after the dependencies of this set have been resolved.
|
void |
afterResolve(Closure action)
Adds an action to be executed after the dependencies of this set have been resolved.
|
void |
beforeResolve(Action<? super ResolvableDependencies> action)
Adds an action to be executed before the dependencies in this set are resolved.
|
void |
beforeResolve(Closure action)
Adds an action to be executed before the dependencies in this set are resolved.
|
DependencySet |
getDependencies()
Returns the set of dependencies which will be resolved.
|
FileCollection |
getFiles()
Returns a
FileCollection which contains the resolved set of files. |
String |
getName()
Returns the name of this set.
|
String |
getPath()
Returns the path of this set.
|
ResolutionResult |
getResolutionResult()
Returns an instance of
ResolutionResult
that gives access to the graph of the resolved dependencies. |
String getName()
String getPath()
FileCollection getFiles()
FileCollection
which contains the resolved set of files. The returned value is lazy, so dependency resolution is not performed until the contents of the
collection are queried.DependencySet getDependencies()
void beforeResolve(Action<? super ResolvableDependencies> action)
action
- The action to execute.void beforeResolve(Closure action)
action
- The action to execute.void afterResolve(Action<? super ResolvableDependencies> action)
action
- The action to execute.void afterResolve(Closure action)
action
- The action to execute.@Incubating ResolutionResult getResolutionResult()
ResolutionResult
that gives access to the graph of the resolved dependencies.