api / org.gradle.api.initialization / ConfigurableIncludedBuild / dependencySubstitution

dependencySubstitution

abstract fun dependencySubstitution(action: Action<in DependencySubstitutions>): Unit

Configures the dependency substitution rules for this included build. The action receives an instance of DependencySubstitutions which can be configured with substitution rules. Project dependencies are resolved in the context of the included build.

See Also
org.gradle.api.artifacts.ResolutionStrategy#dependencySubstitution(Action)DependencySubstitutions