Just updated Confetti to use Kotlin `1.9.0-Beta` +...
# confetti
j
Just updated Confetti to use Kotlin
1.9.0-Beta
+ some related dependencies (ksp plugin + compose compiler). Everything seems to work ok though if I do try to enable experimental K2 compiler I'm seeing some errors but haven't had chance to look in to those yet.
Copy code
./gradlew assemble -Pkotlin.experimental.tryK2=true
👍 3
@Arkadii Ivanov just fyi in case these ring a bell
Copy code
> Task :shared:compileDebugKotlinAndroid
w: Language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/AppComponent.kt:121:9 Object DefaultAppComponent.Config.Loading is not abstract and does not implement abstract member describeContents
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/AppComponent.kt:122:9 Object DefaultAppComponent.Config.Conferences is not abstract and does not implement abstract member describeContents
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/AppComponent.kt:124:14 Class DefaultAppComponent.Config.Conference is not abstract and does not implement abstract member describeContents
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/ConferenceComponent.kt:111:9 Object DefaultConferenceComponent.Config.Home is not abstract and does not implement abstract member describeContents
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/ConferenceComponent.kt:112:14 Class DefaultConferenceComponent.Config.SessionDetails is not abstract and does not implement abstract member describeContents
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/ConferenceComponent.kt:113:14 Class DefaultConferenceComponent.Config.SpeakerDetails is not abstract and does not implement abstract member describeContents
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/ConferenceComponent.kt:114:9 Object DefaultConferenceComponent.Config.SignIn is not abstract and does not implement abstract member describeContents
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/ConferenceComponent.kt:115:9 Object DefaultConferenceComponent.Config.Settings is not abstract and does not implement abstract member describeContents
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/HomeComponent.kt:138:9 Object DefaultHomeComponent.Config.Sessions is not abstract and does not implement abstract member describeContents
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/HomeComponent.kt:139:9 Object DefaultHomeComponent.Config.Speakers is not abstract and does not implement abstract member describeContents
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/HomeComponent.kt:140:9 Object DefaultHomeComponent.Config.Bookmarks is not abstract and does not implement abstract member describeContents
e: file:///Users/joreilly/dev/github/Confetti/shared/src/mobileMain/kotlin/dev/johnoreilly/confetti/HomeComponent.kt:141:9 Object DefaultHomeComponent.Config.Search is not abstract and does not implement abstract member describeContents

> Task :shared:compileDebugKotlinAndroid FAILED
a
There should be the kotlin-parcelize plugin doing the job. Not sure if it's compatible with K2.
j
seems others have seen this but not clear what the fix was in this case https://youtrack.jetbrains.com/issue/KT-53651
a
Yeah, that issue references another issue (https://youtrack.jetbrains.com/issue/KT-53590) which is marked as fixed in 1.8.20. Weird.