Resolvable Dependencies
A set of Dependency objects which can be resolved to a set of files. There are various methods on this type that you can use to get the result in different forms:
- getFiles returns a FileCollection that provides the result as a set of java.io.File instances.
- getResolutionResult returns a ResolutionResult that provides information about the dependency graph.
- getArtifacts returns an ArtifactCollection that provides the files with additional metadata.
The dependencies are resolved once only, when the result is first requested. The result is reused and returned for subsequent calls. Once resolved, any mutation to the dependencies will result in an error.
Functions
Link copied to clipboard
Adds an action to be executed after the dependencies of this set have been resolved.
Link copied to clipboard
Returns a builder that can be used to define and access a filtered view of the resolved artifacts.
Link copied to clipboard
Adds an action to be executed before the dependencies in this set are resolved.
Link copied to clipboard
Returns the resolved artifacts, performing the resolution if required.
Link copied to clipboard
Link copied to clipboard
Returns the set of dependencies which will be resolved.
Link copied to clipboard
Returns the set of dependency constraints which will be considered during resolution.
Link copied to clipboard
Returns a FileCollection which contains the resolved set of files.
Link copied to clipboard
Returns the resolved dependency graph, performing the resolution lazily.