Package org.gradle.api.artifacts
Interface ArtifactView
- All Superinterfaces:
HasAttributes
- All Known Subinterfaces:
ResolvableDependencies
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
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Configuration for a defined artifact view. -
Method Summary
Modifier and TypeMethodDescriptionReturns the collection of artifacts matching the requested attributes that are sourced from Components matching the specified filter.getFiles()
Returns the collection of artifact files matching the requested attributes that are sourced from Components matching the specified filter.Methods inherited from interface org.gradle.api.attributes.HasAttributes
getAttributes
-
Method Details
-
getArtifacts
ArtifactCollection getArtifacts()Returns the collection of artifacts matching the requested attributes that are sourced from Components matching the specified filter. -
getFiles
FileCollection getFiles()Returns the collection of artifact files matching the requested attributes that are sourced from Components matching the specified filter.
-