-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Move to JDK21 #1960
Comments
Blocked by: |
So java is working with gradle Welp Java 20 is good enough. |
It's an issue with Gradle, not Kotlin atm. We can manually bump Kotlin version in Gradle, but later on it'll throw exceptions on Kapt + if we'll explicitly set JDK21 in the toolchain for Gradle, it'll fail on CI with JDK11. |
In other words, not mature enough yet. It was worth a try I guess. Migrate to jdk21 when the issue is solved? |
Yup, we need to wait for sth like Gradle 8.4.1/8.5 |
Gradle 8.5-rc.1 supports JDK21, but Kapt (Kotlin's annotation processor adapter) is unable to start, so we need to wait for next RC/official release. |
Related issue: It looks like the fix targets Kotlin 2.0, but not 1.9.20. It's a bit strange. |
In theory, it should work with 1.9.21: |
reposilite-playground/reposilite-aur#21
The text was updated successfully, but these errors were encountered: