Hi all, I'm hoping someone with Kotlin/Gradle expe...
# gradle
j
Hi all, I'm hoping someone with Kotlin/Gradle experience can answer my question. Context: my project is still on Kotlin
1.9.24
due to some internal dependency limitations. Question: If I include a 3rd-party dependency that upgrades
org.jetbrains.kotlin:kotlin-stdlib
to
2.0.21
(as can be seen by running
./gradlew :app:dependencies --configuration releaseRuntimeClasspath
) , is that going to cause problems at either compile time or runtime?
t
2.0.21
should be fine - Kotlin/JVM compiler supports one major version forward
so with
2.1.0+
version - you will not be able to compile your project
👍 1
j
Excellent. Thanks for the link and the clarification on version compatibility!
a
In general, I would note that if the 3rd party library exposes APIs that use new language features, you might not be able to use those parts of the API
👀 1
e
also if you use kotlin.reflect it should be updated to match stdlib