@Incubating interface ArtifactView : HasAttributes
A view over the artifacts resolved for this set of dependencies. By default, the view returns all files and artifacts, but this can be restricted by component identifier or by attributes.
Since
3.4
interface ViewConfiguration : HasConfigurableAttributes<ViewConfiguration>
Configuration for a defined artifact view. |
abstract fun getArtifacts(): ArtifactCollection
Returns the collection of artifacts matching the requested attributes that are sourced from Components matching the specified filter. |
|
abstract fun getFiles(): FileCollection
Returns the collection of artifact files matching the requested attributes that are sourced from Components matching the specified filter. |
abstract fun getAttributes(): AttributeContainer
Returns the attributes |
interface ResolvableDependencies : ArtifactView
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:
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. |