In my project, I replaced all the enum `values()` ...
# gradle
e
In my project, I replaced all the enum
values()
for
entries
(https://kotlinlang.org/docs/whatsnew19.html#stable-replacement-of-the-enum-class-values-function). When I decided to do the same in my project's
build-logic
module, it complained that it was still experimental. I assumed that is because of this matrix (https://docs.gradle.org/current/userguide/compatibility.html#kotlin). Am I right? Is having a different Kotlin version on the same project an issue (it's not on the same project, only on the build logic, but still...)?
t
Overall correct. There are two Kotlin versions used in your project: • one is coming from Gradle Kotlin runtime and is used to compile your build logic • second one is what version of Kotlin Gradle Plugin your project is using to compile project sources These two versions quite often are different