-
Notifications
You must be signed in to change notification settings - Fork 40.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Kotlin 2.0 #38539
Comments
This will have to be coordinated with the rest of the Spring portfolio. It will be Spring Boot 3.3 at the earliest. This issue isn't actionable at the moment so I'm going to close it for now. We will create the necessary issues when the time comes. |
@wilkinsona Kotlin 2.0 is now officialy released. Do you plan to re-open this issue and update it soon? |
@aleksandrakoziel this is too late for ou 3.3 milestone, which has been released. Maybe create an enhancement request in Spring Framework to request Kotlin 2.0 support? |
Looks like Kotlin v2 is targetted for Spring Framework v7.0.x: spring-projects/spring-framework#33629 |
I stumbled upon this issue after seeing that Does this mean that until Nov 2025 using the new kotlin version is unsupported and I should also not compile with kotlin 2? If so, is there a good way to set the kotlin plugin version automatically to the supported one? Currently it is set separately: plugins {
val kotlinVersion = "2.1.0"
java
kotlin("jvm") version kotlinVersion
kotlin("plugin.lombok") version kotlinVersion
id("org.springframework.boot") version "3.3.6"
} Or am I overthinking it and it is safe to compile with kotlin 2.1 and use kotlin-stdlib and kotlin-reflect 1.9.25? |
@sdeleuze might know the answer. He's much more familiar with Kotlin than I am. |
Kotlin Gradle (or Maven) plugins and |
Kotlin 2.0 will be released soon (December) Which spring boot release will target it? See https://github.com/JetBrains/kotlin/releases/tag/v2.0.0-Beta1
The text was updated successfully, but these errors were encountered: