getArtifacts

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

Prefer getArtifacts.

Return

successfully resolved artifacts

Since

3.3


abstract fun getArtifacts(dependencySpec: Spec<in Dependency>): Set<ResolvedArtifact>(source)

Deprecated

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

Return

successfully resolved artifacts for dependencies that match given dependency spec

Deprecated

Use a lenient ArtifactView with a componentFilter instead.

Parameters

dependencySpec

dependency spec