What specific version of Kotlin does Compose Deskt...
# compose-desktop
m
What specific version of Kotlin does Compose Desktop 1.2 beta require, does anyone know? I get an error if I try to use anything less than Kotlin 1.7.10, however, the actual dependency information of the Compose 1.2 libraries states that they depend on Kotlin 1.6. Gradle force upgrades those dependencies to 1.7 usually, but if I resolve Compose Desktop in a different configuration where I haven't forcibly imported the Kotlin 1.7 standard library then I end up with the "wrong" old versions of the Kotlin stdlib. Is there a plan to switch all the libraries to depend on Kotlin 1.7 before release so it's all consistent?
i
Compose runtime libraries depend on Kotlin 1.6.20, but Compose Compiler depends on Kotlin 1.7.10, so in the end Compose can only work with Kotlin 1.7.10. That shouldn't be an issue in theory. Because runtime API of Kotlin is backward compatible. So when the runtime libraries depend on Kotlin 1.6.20, they won't break if we will use Kotlin 1.7.10. Switching runtime libraries to Kotlin 1.7.10 wasn't planned for Compose Multiplatform 1.2.0. By the way, that is how Jetpack Compose was released.