Is there a way to use different versions of Kotlin...
# multiplatform
c
Is there a way to use different versions of Kotlin, depending on the target platform? I need to use Kotlin 1.6.20 for a macOS framework fix, but I need Kotlin 1.6.10 in order to use Jetpack Compose on Android
even being able to override it in the command line invocation would work
figured it out! I: • Made the Kotlin version configurable in
grade.properties
• I override the property in the Xcode command invocation
b
This sounds flakey. I'd go for two separate included builds with hard coded kotlin versions instead. Shared module would use the lower version.
☝️ 1
j
pretty much what was mentioned above but posting here in case of use https://johnoreilly.dev/posts/kmm-using-different-kotlin-versions/
👍 1