# withArtifacts

inline fun ArtifactResolutionQuery. withArtifacts(componentType: KClass<out Component>, vararg artifactTypes: KClass<out Artifact>): ArtifactResolutionQuery(source)
inline fun ArtifactResolutionQuery. withArtifacts(componentType: KClass<out Component>, vararg artifactTypes: KClass<out Artifact>): ArtifactResolutionQuery(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.artifacts.query.ArtifactResolutionQuery.withArtifacts.

#### Since

2.0

#### See also

org.gradle.api.artifacts.query.ArtifactResolutionQuery.withArtifacts

inline fun ArtifactResolutionQuery. withArtifacts(componentType: KClass<out Component>, artifactTypes: Collection<KClass<out Artifact>>): ArtifactResolutionQuery(source)
inline fun ArtifactResolutionQuery. withArtifacts(componentType: KClass<out Component>, artifactTypes: Collection<KClass<out Artifact>>): ArtifactResolutionQuery(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.artifacts.query.ArtifactResolutionQuery.withArtifacts.

#### Since

4.5

#### See also

org.gradle.api.artifacts.query.ArtifactResolutionQuery.withArtifacts