api / org.gradle.api.artifacts.result / ComponentSelectionCause

ComponentSelectionCause

@Incubating class ComponentSelectionCause

The possible component selection causes. There are a limited number of causes, but each of them can be provided with a custom description, via ComponentSelectionDescriptor.

Since
4.6

Enum Values

ROOT

REQUESTED

SELECTED_BY_RULE

FORCED

CONFLICT_RESOLUTION

COMPOSITE_BUILD

REJECTION

CONSTRAINT

Functions

getDefaultReason

fun getDefaultReason(): String