Will there be a compiler release that supports 1.7...
# compose
e
Will there be a compiler release that supports 1.7.22? I think I saw someone from JB say it was a "technical" release to address something on their side, so maybe there's no need to update to it?
s
https://androidx.dev/storage/compose-compiler/repository nor https://developer.android.com/jetpack/androidx/releases/compose-kotlin have any matching versions. But as you say, there may not be a need for it, have you tried with 1.7.21 to see if it worked or not?
e
I've tried 1.7.22 with the latest compiler alpha and it doesn't work
s
What is it that doesn’t work? There may be some flag you need to flip to allow this to at least try and work. What’s the error you’re getting?
e
Copy code
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.22 which is not known to be compatible.  Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).
So I could use
suppressKotlinVersionCompatibilityCheck
but I'd prefer not to
s
Well the option is right there. Either use a compatible Kotlin version, or suppress this warning. If you’d prefer not to do this then you have to use a compatible Kotlin version for now.
e
I always felt that flag is like a stop gap until a release is made that supports the Kotlin version you want to use. I also wouldn't want to use that flag for an extended period of time, and 1.7.22 has been out for over two weeks now (and Dependabot/Renovate have been creating PRs for it a little longer than that). I think there's been a sufficient amount of murky commentary about why compose can't move as fast as other compiler plugins (e.g. KSP), but it's definitely a pain point. In any case, I just looked up the releases page and found this:
Copy code
This is a technical release. It doesn't contain any fixes that aren't included in Kotlin 1.7.21.
Version 1.7.22 of the Kotlin plugin will not be available for downloading or installing in any IDEs.
so I guess I'll just ignore the version 😅