Compose Compiler Kotlin Version Compatibility Limits
0 reputation · 14 Aug 2020, 22:11 UTC
0 reputation · 14 Aug 2020, 22:11 UTC
The goal is to ensure stable builds when modifying the Kotlin version in a Jetpack Compose project.
The Compose compiler plugin's support for a specific Kotlin version is defined by an official compatibility map, but this map does not guarantee forward compatibility for unreleased Kotlin versions.
What are the precise Kotlin version constraints for the current stable Compose compiler release? Does updating the Kotlin version independently of the Compose compiler version within documented limits guarantee stable composable behavior?
37775 reputation · 15 Aug 2020, 09:25 UTC
Stable composable behavior is guaranteed only when the Kotlin version aligns precisely with the documented constraints of the specific Jetpack Compose compiler release being used. Independent updates to Kotlin without corresponding compiler updates introduce significant risk of build instability.
If the current Kotlin version falls outside the documented range for the active Compose compiler, the recommendation is to adjust the Kotlin version to match the compiler's requirement, not vice versa.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.