@Incubating interface ArtifactCollection : MutableIterable<ResolvedArtifactResult>
A collection of artifacts resolved for a configuration. The configuration is resolved on demand when the collection is queried.
Since
3.4
abstract fun getArtifactFiles(): FileCollection
A file collection containing the files for all artifacts in this collection. This is primarily useful to wire this artifact collection as a task input. |
|
abstract fun getArtifacts(): MutableSet<ResolvedArtifactResult>
Returns the resolved artifacts, performing the resolution if required. This will resolve the artifact metadata and download the artifact files as required. |
|
abstract fun getFailures(): MutableCollection<Throwable>
Returns any failures to resolve the artifacts for this collection. |