gradle
8.3

# getArtifacts

abstract fun getArtifacts(): Set<ResolvedArtifact>

Gets successfully resolved artifacts. Ignores dependencies or files that cannot be resolved.

#### Return

successfully resolved artifacts

abstract fun getArtifacts(dependencySpec: Spec<out Any>): Set<ResolvedArtifact>

Gets successfully resolved artifacts. Ignores dependencies or files that cannot be resolved.

#### Return

successfully resolved artifacts for dependencies that match given dependency spec

#### Parameters

dependencySpec

dependency spec