Im using compose 1.3.2 and want to update to 1.4.0-alpha02 and kotlin 1.7.21
myanmarking
11/21/2022, 4:26 PM
If i update kotlin and compose version, i get this error:
This version (1.3.2) of the Compose Compiler requires Kotlin version 1.7.20 but you appear to be using Kotlin version 1.7.21 which is not known to be compatible
If i just update the compose version, i get this one:
This version (1.4.0-alpha02) of the Compose Compiler requires Kotlin version 1.7.21 but you appear to be using Kotlin version 1.7.20 which is not known to be compatible
myanmarking
11/21/2022, 4:26 PM
clear cache doesnt fix anything. im stuck -.-
g
gsala
11/21/2022, 4:29 PM
The first message mentions you are using compose 1.3.2, are you sure you bumped compose to 1.4.0-alpha02?
m
myanmarking
11/21/2022, 4:30 PM
hm. apparently i was missing kotlinCompilerExtensionVersion in a module and that seems to be it
g
gsala
11/21/2022, 4:30 PM
That’s a classic. Set it on a variable across modules if you haven’t already
m
myanmarking
11/21/2022, 4:31 PM
yes, it uses and external variable 😛 but was missing the kotlinCompilerExtensionVersion block