Hi. I found a library https://github.com/terrakok/Cicerone, which is compiled with Kotlin 1.5.21 version and Java 1.7. Will there be a problem if I add it to my project, which currently uses kotlin v1.9.0 and Java 11? and will it also work in future with K2 compiler and Kotlin v2.0? at what point it will fail to update?
e
ephemient
08/16/2023, 1:50 PM
as long as that library doesn't use kotlin-reflect, it will continue working with all Kotlin and Java versions in the foreseeable future. Kotlin/JVM has been ABI stable since 1.0 https://kotlinlang.org/docs/components-stability.html
g
Giorgi
08/16/2023, 1:59 PM
thanks.
it will also work the other way, right? for example, project is at v1.5.21 and library is at 1.9.0