api / org.gradle.api.artifacts / ComponentSelection

ComponentSelection

@Incubating interface ComponentSelection

* Represents a tuple of the component selector of a module and a candidate version to be evaluated in a component selection rule.

Functions

getCandidate

abstract fun getCandidate(): ModuleComponentIdentifier

Gets the candidate version of the module.

reject

abstract fun reject(reason: String): Unit

Rejects the candidate for the resolution.