gradle
8.5

# getArtifacts

abstract fun getArtifacts(): Set<ResolvedArtifact>(source)

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>(source)

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