Hey! We are getting lots of unresolved dependancie...
# multiplatform
g
Hey! We are getting lots of unresolved dependancies our build files although the project actually builds and runs fine, have tried invalidate caches / restart, deleting .idea & .gradle folders and re importing, updating the the latest version of most dependancies, has anyone solved this issue before? Current set up is Android Studio,
Kotlin 1.5.31
,
AGP 4.1.3
and its a library project for iOS & Android.
j
named(…) works?
g
Sorry please could you elaborate? The issue is not just happening with
getting
but seems to be happening everywhere in the build file
m
I'm having huge trouble with something like this so I may well not be a useful contributor, but I think this happens because one of the plugins breaks the build (assuming you've got plugins at the top of this build file).
a
I also encountered this in a project that uses buildSrc after I upgraded Kotlin to 1.5. If you are using buildSrc, try upgrading Gradle to 7.2 as it solved the problem for me.
2
j
named("jvmMain") { ... }
g
The solution was updating to Gradle 7.0.2 and bumping other required dependancies 😄 Thanks so much for the responses!