api / org.gradle.api.artifacts / ArtifactCollection / getArtifacts

getArtifacts

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.

Exceptions

ResolveException - On failure to resolve or download any artifact.