# CapabilitiesResolution

interface CapabilitiesResolution(source)

Allows configuring the capabilities resolution strategy. When there's a capability conflict, this object will let you select what to do in that situation. The configuration can either be global, for any capability by calling the all method, or it can be specific to a capability by calling one of the withCapability, withCapability or withCapability methods.

#### Since

5.6

## Functions

all
Link copied to clipboard
abstract fun all(action: Action<in CapabilityResolutionDetails>)
Configures the resolution strategy of capability conflicts for all capabilities.
withCapability
Link copied to clipboard
abstract fun withCapability(notation: Any, action: Action<in CapabilityResolutionDetails>)
abstract fun withCapability(capability: Capability, action: Action<in CapabilityResolutionDetails>)
abstract fun withCapability(group: String, name: String, action: Action<in CapabilityResolutionDetails>)
Configures the resolution strategy of a specific capability.