👋 Compose beta09 thinks that my project is using kotlin 1.4.31 instead of 1.5.10. I suspect that this is because some dependencies are pulling in stdlib 1.4.31. Explicitly adding stdlib 1.5.10 as a dependency fixes this error. Is there a better way of solving this?
Copy code
error: this version (1.0.0-beta09) of the Compose Compiler requires Kotlin version 1.5.10 but you appear to be using Kotlin version 1.4.31 which is not known to be compatible. Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).
I’ve already tried declaring
kotlinCompilerVersion
and
kotlinCompilerExtensionVersion
under
composeOptions
.
➕ 1
e
ephemient
06/30/2021, 5:32 PM
kotlin-bom is always nice, but without knowing the details of your dependencies it's hard to say if it'll help