api / org.gradle.api.artifacts / ArtifactView / getArtifacts

getArtifacts

abstract fun getArtifacts(): ArtifactCollection

Returns the collection of artifacts matching the requested attributes that are sourced from Components matching the specified filter.