I'm running into a strange issue with the 1.9.20 u...
# multiplatform
r
I'm running into a strange issue with the 1.9.20 upgrade where my "*compileCommonMainKotlinMetadata"* task is failing due to not finding the kotlin standard library "map" collection extension. Has anyone else run into this or have a solution?
naturally, I have code in my commonMain that uses the map collection extension to, erm, map things to other things.
i
Just a guess, do you use
mavenLocal
repository in build scripts for getting dependencies?
r
I don’t believe so, but I am composing my build with multiple projects so I can build convention plugins. Would have have a similar effect?
I seem to keep alternating between having this issue and having a different issue with kotlin serialization and common code generating serializers for JavaScript. I’m guessing one of the issues is library misalignment, but that always leaves me with the other issue, which is similarly tough to resolve
i
The version misalignment can also be the case. You can check which dependency versions are resolved in your project using Gradle build scan or by running
dependencies
Gradle task in the affected project.
The relevant dependency configurations for compileCommonMainKotlinMetadata would be
metadataCommonMainCompileClasspath
or
metadataCompileClasspath
👍 1
r
I'll take some more looking at it today