Skip update to Kotlin 2; action required for existing app projects #165
marcprux
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Kotlin 2 was recently released. We have long planned for Skip to target this language version before we release Skip 1.0. We've implemented a number of changes to the transpiler to support Kotlin 2 in what should be a transparent way for your code. The Android Gradle projects that we generate, including the
settings.gradle.kts
andbuild.gradle.kts
files, have been updated in Skip 0.9.2 to generate build files that are compatible with the Kotlin 2 build system, including the inclusion of the Compose compiler1 as part of the Kotlin language support.However, for app projects that have been created prior to Skip 0.9.2, the existing
Android/app/build.gradle.kts
file for your app will need some manual updating in order to make it work with Skip. These steps are outlined in our documentation at: https://skip.tools/docs/kotlin2-migration/Once you have made those changes to your app, you should be able to run Xcode's
File
/Packages
/Update to Latest Package Versions
, clean your build, and then run your app. If you do encounter any errors, please check out the troubleshooting guide at https://skip.tools/docs/help/, and don't hesitate to contact us through one of our support channels to help with any issues:Footnotes
https://kotlinlang.org/docs/whatsnew20.html#new-compose-compiler-gradle-plugin ↩
Beta Was this translation helpful? Give feedback.
All reactions