https://kotlinlang.org logo
#compose-android
Title
# compose-android
e

eygraber

11/27/2023, 6:35 PM
Are there any plans to release a compiler for Kotlin 1.9.21?
j

Javier

11/27/2023, 7:03 PM
Any Androidx release happens on Wednesday. JetBrains has published one for 1.9.21 if you need it now.
e

eygraber

11/27/2023, 7:08 PM
Compose Compiler doesn't necessarily follow the release schedule as the rest of androidx (see the last compiler release). I don't think Android allows using the Jetbrains compiler, i.e. only
kotlinCompilerExtensionVersion
is exposed
j

jw

11/27/2023, 7:27 PM
You can still use dependency substitution to replace it, or add it directly to the compiler classpath and bypass
compose = true
in build features
e

eygraber

11/27/2023, 7:33 PM
I suppose that's more sensible than hoping for Google to be normal
b

Ben Trengrove [G]

11/28/2023, 12:29 AM
Yes, there is a plan. Not sure of the release date sorry
i

itnoles

11/28/2023, 3:21 AM
Jetbrains one already have Kotlin 2.0 Beta support too
d

Dmitry Skorbovenko

11/28/2023, 11:34 AM
Hi, decided to switch to compose multiplatforn 1.5.11 so as not wait for android, but it caused build errors ((, it is already fixed https://github.com/JetBrains/compose-multiplatform/pull/3951 . but for some reason it is decided not being backported to 1.5.11. Anybody knows why? Should we wait for 1.6 to make build works again )
e

eygraber

11/28/2023, 3:15 PM
Better to ask that in #compose-desktop
j

jw

11/29/2023, 6:00 PM
1.5.5 just went out. Probably is for .21
e

eygraber

11/29/2023, 6:24 PM
Would they hot patch it while these are still open - https://android-review.googlesource.com/q/1.9.21
j

jw

11/29/2023, 6:26 PM
True. I haven't tried. Off today. Renovate will try for me.
They could have landed it onto the release branch where only the compiler needs to be built.
e

eygraber

11/29/2023, 6:26 PM
I'm trying now 🤞
👎
Copy code
e: This version (1.5.5) of the Compose Compiler requires Kotlin version 1.9.20 but you appear to be using Kotlin version 1.9.21 which is not known to be compatible.  Please consult the Compose-Kotlin compatibility map located at <https://developer.android.com/jetpack/androidx/releases/compose-kotlin> to choose a compatible version pair (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).
j

jw

11/29/2023, 6:32 PM
We should have known
🤐 1
i

itnoles

12/02/2023, 12:07 AM
j

jw

12/02/2023, 12:50 AM
Yeah it's going to be 1.5.6. There's already a CL for it.
5 Views