gradle
8.2

# getUseGlobalDependencySubstitutionRules

abstract fun getUseGlobalDependencySubstitutionRules(): Property<Boolean>

Gradle implicitly registers dependency substitution rules for all configurations in the whole build tree to find projects in other included builds. These rules are always active by default. There are however cases, where a certain configuration should not apply these rules when resolving. For example, if a binary version of a module should be discovered that is also represented by a project in another build. This property may be used to deactivate these global substitution rules.