CapabilityResolutionDetails

Gives access to the resolution details of a single capability conflict. This class may be used to resolve a capability conflict by either selecting explicitly one of the candidates, or selecting the one with the highest version of the capability.

Since

5.6

Functions

Link copied to clipboard
abstract fun because(reason: String): CapabilityResolutionDetails
Describes why a particular candidate is selected.
Link copied to clipboard
Returns the list of components which are in conflict on this capability
Link copied to clipboard
abstract fun getCapability(): Capability
Returns the capability in conflict
Link copied to clipboard
abstract fun select(notation: Any): CapabilityResolutionDetails
Selects a particular candidate to solve the conflict.
Link copied to clipboard
Automatically selects the candidate module which has the highest version of the capability.