Are there any plans for compose (maybe in the stab...
# compose
a
Are there any plans for compose (maybe in the stable versino) to not require an exact version of Kotlin library?
a
It’s not Kotlin library but the Kotlin compiler that prevents compose from being able to use multiple Kotlin versions. There’s no plan to change this. https://kotlinlang.slack.com/archives/C0B8M7BUY/p1623072433023000?thread_ts=1623040579.004900&cid=C0B8M7BUY
👍 1
a
Thanks. That seems like a huge restriction though, as a user of the APIs. You can't update Kotlin unless compose is compatible with it. Also, in order to use compose's new version, you have to update Kotlin version as well.
e
Stable Compiler Plugin API is on the Kotlin roadmap (https://kotlinlang.org/docs/roadmap.html) but it is deferred pending other priorities. after Kotlin compiler's IR and API are stable, Compose may be able to target multiple Kotlin versions. no timeline (but not anytime soon)
👍 2
v
The compiler will be more stable starting in Kotlin 1.5, and the version requirements should be relaxed in the future.
They said that on google IO

https://www.youtube.com/watch?v=0MiW-qb0GhQ&t=1167s