Is it expected that a library published against Ko...
# multiplatform
a
Is it expected that a library published against Kotlin 1.7.0 can't be resolved in a project with Kotlin 1.6.10? The IDE shows multiple "Could not resolve XYZ" errors on the Build tab after sync. However the project compiles and runs just fine from the command line.
m
1.7.0 publishes with HMPP enabled by default that 1.6.10 most probably doesn't understand.
enableCompatibilityMetadataVariant
a
Ahh same mistake second time! Thanks for pointing on that!
m
Sure thing!
a
The original issue is now fixed, the IDE resolves the dependency and Gradle sync works fine. However native part doesn't compile anyway 😞
Copy code
w: skipping /Users/arkivanov/.gradle/caches/modules-2/files-2.1/com.arkivanov.mvikotlin/mvikotlin-iosx64/3.0.1/9f76909ed6dd87755bfc30860e99e0f3d13691be/mvikotlin.klib. Incompatible abi version. The current default is '1.6.0', found '1.7.0'. The library produced by 1.7.10 compiler
e: Could not find "/Users/arkivanov/.gradle/caches/modules-2/files-2.1/com.arkivanov.mvikotlin/mvikotlin-iosx64/3.0.1/9f76909ed6dd87755bfc30860e99e0f3d13691be/mvikotlin.klib" in [/Users/arkivanov/dev/workspace/compose-jb/examples/todoapp/common/utils, /Users/arkivanov/.konan/klib, /Users/arkivanov/.konan/kotlin-native-prebuilt-macos-aarch64-1.6.10/klib/common, /Users/arkivanov/.konan/kotlin-native-prebuilt-macos-aarch64-1.6.10/klib/platform/ios_x64]
m
Arf... No forward compatibility on native :-/
1
a
Thanks, starred as well!
👍 1