Kelvin Chung
08/16/2024, 8:29 PMconfigurations.all {
resolutionStrategy.dependencySubstitution {
substitute(module("foo:bar")).using(module("foo:baz:1.0"))
}
}
How is this different from
dependencies {
modules {
module("foo:bar") {
replacedBy("foo:baz")
}
}
}
and which one is preferred?Justin Van Dort
08/16/2024, 8:31 PMKelvin Chung
08/16/2024, 8:31 PMJustin Van Dort
08/16/2024, 8:32 PMJustin Van Dort
08/16/2024, 8:33 PM