https://kotlinlang.org logo
#random
Title
# random
a

andries.fc

10/13/2023, 8:03 AM
does someone knows when Kotlin will support Java 21. Would think it is a bitt of a priority as Java 21 is an long term release.
k

Klitos Kyriacou

10/13/2023, 8:36 AM
Kotlin 1.9.20-RC already does.
a

andries.fc

10/13/2023, 8:37 AM
thanx 🙂 will give a try.
k

Klitos Kyriacou

10/13/2023, 8:39 AM
However, note that the latest released version of IntelliJ still doesn't fully support Java 21. You'll need 2023.3. And Gradle needs to be version 8.4 which has only recently been released.
a

andries.fc

10/13/2023, 8:47 AM
Just had a look. The lates gradle release (as in 8.4) supports building projects in Java 21. Thanx for the assist. Maybe I will wait until the next upgrade of IntelliJ comes out.
h

hfhbd

10/13/2023, 9:15 AM
But running Gradle itself with Java 21 will only be supported in 8.5 (by using Kotlin 1.9.20 release).
a

andries.fc

10/13/2023, 9:31 AM
So theoretical I should just upgrade to Kotlin 1.9.20 in order to target Java 21.
d

darkmoon_uk

10/14/2023, 10:54 PM
Simple property assignment in Kotlin DSL now stable
The real MVP