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.

ArtifactCollection

A collection of artifacts resolved for a configuration. The configuration is resolved on demand when the collection is queried.

Since

3.4

Functions

Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
A file collection containing the files for all artifacts in this collection.
Link copied to clipboard
Returns the resolved artifacts, performing the resolution if required.
Link copied to clipboard
Returns any failures to resolve the artifacts for this collection.
Link copied to clipboard
Returns the resolved artifacts as a Provider of ResolvedArtifactResult instances.
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard