Hello, everyone. My Android project is currently using Kotlin version 1.8.21. I want to use a third-party library, but it's using Kotlin 1.9.10. What will happen, and how can I ensure that my project runs smoothly? For now, I have no time to update my Android project's Kotlin version.
10/13/2023, 6:49 AM
There’s nothing special that you should do. That library is already compiled with its internal requirements and the bytecode compatibility should be guaranteed
10/13/2023, 7:12 AM
Glad to hear that, thank you.
10/13/2023, 9:13 PM
yes, Kotlin compiler on JVM can handle metadata of classes from one version ahead. but just note that if you're using kotlin-reflect, that does need to stay in sync with kotlin-stdlib, which will be upgraded by your dependency