Is anyone using gradle dependency substitution to ...
# multiplatform
n
Is anyone using gradle dependency substitution to replace maven dependencies with local KMP projects? Used to work with Kotlin 1.4.21 (gradle 6.6). With Kotlin 1.6.21 (gradle 7.4), substitution still works, but the compiler can’t find the dependency symbols. If I avoid this machinery and directly add the project dependency, it also works.
e
sounds like https://youtrack.jetbrains.com/issue/KT-52172 and related issues
n
Thanks, it may be KT-51293… But still I don’t get it - adding
api(project(":foo"))
should be identical to adding
api("foo.foo:foo")
+ dependency substitution, but the first option works well