api / org.gradle.api.artifacts.result / ComponentSelectionReason / isConstrained

isConstrained

@Incubating abstract fun isConstrained(): Boolean

Informs whether the selected component version has been influenced by a dependency constraint.

Return
true if a dependency constraint influenced the selection of this component

Since
4.6