For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

ArtifactView

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

Inheritors

Types

Link copied to clipboard
Configuration for a defined artifact view.

Functions

Link copied to clipboard
Returns the collection of artifacts matching the requested attributes that are sourced from Components matching the specified filter.
Link copied to clipboard
Returns the attributes
Link copied to clipboard
abstract fun getFiles(): FileCollection
Returns the collection of artifact files matching the requested attributes that are sourced from Components matching the specified filter.