Table of Contents
API Documentation: | ComponentSelection |
---|
Represents a tuple of the component selector of a module and a candidate version to be evaluated in a component selection rule.
Method | Description |
getDescriptor(descriptorClass) | Incubating Used to access a specific descriptor format. |
reject(reason) | Rejects the candidate for the resolution. |
Gets the candidate version of the module.
Note: This property is incubating and may change in a future version of Gradle.
Gets the metadata of the component.
The metadata may not be available, in which case null
is returned.
Unavailable metadata may be caused by a module published without associated metadata.
Note: This method is incubating and may change in a future version of Gradle.
Used to access a specific descriptor format.
For an Ivy module, an IvyModuleDescriptor
can be requested and returned.
If the descriptor type requested does not exist for the module under selection, null
is returned.
Rejects the candidate for the resolution.