Kelvin Chung
09/27/2024, 5:13 PMDependency constraints can not be declared against the `compileClasspath` configuration.
Any advice would be helpfulVampire
09/27/2024, 7:56 PMKelvin Chung
09/27/2024, 8:00 PMcompileClasspath. Trying to put the same constraints on implementation results in an error relating to dependency locking:
Resolved 'foo:bar:1.0' which is not part of the dependency lock state
It is to be noted that there is a dependency substitution rule also in play:
configurations.implementation {
resolutionStrategy.dependencySubstitution {
substitute(module("foo:bar:1.0")).using(module("foo:baz:1.0"))
}
}Vampire
09/27/2024, 8:02 PM