api / org.gradle.api.artifacts.query / ArtifactResolutionQuery / forComponents

forComponents

abstract fun forComponents(componentIds: MutableIterable<ComponentIdentifier>): ArtifactResolutionQuery
abstract fun forComponents(vararg componentIds: ComponentIdentifier): ArtifactResolutionQuery

Specifies the set of components to include in the result.

Parameters

componentIds - The identifiers of the components to be queried.