touchlab / KaMPKit

KaMP Kit by Touchlab. A collection of code & tools designed to get your mobile team started quickly w/Kotlin Multiplatform

Home Page:https://touchlab.co/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KaMPKit - 1.8 Beta testing

samhill303 opened this issue · comments

  • Perform the list of sanity checks on your work projects (it mostly consists of basic actions).
    • Compile your project with a current Kotlin version.
    • Check the highlighting in different IDE modules.
    • Compile the project with the EAP Kotlin version and install the EAP IDE plugin.
    • Verify that the project re-imported successfully.
    • Check that highlighting from p.2 works not worse than before.
    • Compile the project again and look for new surprising warnings.
    • Change something in the code and check if incremental compilation works.
    • Run your tests with a new Kotlin version.
    • Stop at some well-known piece of code, run the debugger and try stepping.
    • Look for performance issues in compilation, runtime, re-import or IDE behavior.
  • Pay additional attention to these features and subsystems if applicable to your use case:
    • Kotlin Gradle plugin: lots of changes in all typical usage scenarios
    • The new Gradle Incremental compilation, which we plan to stabilize soon
    • Expose compiler flags via Gradle lazy properties
    • Ability to not fallback with compiler daemon by default
    • arm64 support for watchOS targets
    • Xcode 14 and new Objective-C frameworks support in Kotlin/Native

Compose compiler for Kotlin 1.8 is not out yet, the newest version is for Kotlin.1.7.21

So far I found out:

  • I could install the newest Kotlin plugin only in IDEA 2022.2.4, in previous versions it was not available for me, even though docs mention it should be in 2022.2.X
  • SQLDelight must be on new version 2.0.0-alpha04 or newer, because older version generates kotlin classes twice in build folder, once inside commonMain and once in commonCommonMain
  • There is a warning to use androidSourceSetLayoutVersion=2, but with it I got error KotlinSourceSet with name 'androidTest' not found.

Should be unblocked. There is a dev version available. https://androidx.dev/storage/compose-compiler/repository

Test RC version, not beta now that it's out

Additionally to the previously stated changes it was needed to update compose, compose compiler and android compose compiler and use Android Studio Beta (in Idea it is not supported yet).
Overall the performance, debugging and code highlighting seems to be the same.
All changes can be found in branch jj/kotlin-1.8