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

isForced

abstract fun isForced(): Boolean

Informs whether the component was forced. Users can force components via org.gradle.api.artifacts.ResolutionStrategy or when declaring dependencies (see ).