Package org.gradle.api.artifacts
Interface ComponentSelection
Represents a tuple of the component selector of a module and a candidate version
to be evaluated in a component selection rule.
-
Method Summary
Modifier and TypeMethodDescriptionGets the candidate version of the module.void
Rejects the candidate for the resolution.
-
Method Details
-
getCandidate
ModuleComponentIdentifier getCandidate()Gets the candidate version of the module.- Returns:
- the candidate version of the module
-
reject
Rejects the candidate for the resolution.- Parameters:
reason
- The reason the candidate was rejected.
-