ComponentSelectionReason

Answers the question why a component was selected during the dependency resolution.

Since

1.3

Functions

Link copied to clipboard
Returns a list of descriptions of the causes that led to the selection of this component.
Link copied to clipboard
Informs whether the selected component is a project substitute from a build participating in a composite build.
Link copied to clipboard
Informs whether the component was selected by conflict resolution.
Link copied to clipboard
abstract fun isConstrained(): Boolean
Informs whether the selected component version has been influenced by a dependency constraint.
Link copied to clipboard
abstract fun isExpected(): Boolean
Informs whether the component is the requested selection of all dependency declarations, and was not replaced for some reason, such as conflict resolution.
Link copied to clipboard
abstract fun isForced(): Boolean
Informs whether the component was forced.
Link copied to clipboard
abstract fun isSelectedByRule(): Boolean
Informs whether the component was selected by the dependency substitution rule.