Kotlin 1.8 adds support for JVM 19, as well as sup...
# getting-started
b
Kotlin 1.8 adds support for JVM 19, as well as support for Gradle 7.3. However, it looks like the latest release notes for Gradle 7.6 add JVM 19 support, so it seems like there's no combination that would work that's supported. Just wanted to see if this was known/accurate (not working on anything using JVM 19 myself; just something I noticed from the release notes).
e
https://kotlinlang.org/docs/whatsnew18.html#gradle
Kotlin 1.8.0 fully supports Gradle versions 7.2 and 7.3. You can also use Gradle versions up to the latest Gradle release, but if you do, keep in mind that you might encounter deprecation warnings or some new Gradle features might not work.
doesn't mean that Gradle 7.6 is unsupported
within a major Gradle version (e.g. 7), minor releases (e.g. 7.6) maintain existing features but may deprecate old ones in preparation for removal in a future major version. Kotlin Gradle Plugin has adapted to deprecations up through 7.3, but not further yet. it still works with newer 7.x, but there may be warnings about deprecations
https://docs.gradle.org/current/userguide/feature_lifecycle.html#backwards_compatibility
Gradle provides backwards compatibility across major versions (e.g.
1.x
,
2.x
, etc.).
b
I follow, just pointing out it wasn't clear from the notes there. And since JVM 19 is one of the new Gradle features, that would fall under the category of things that may not work.