Skip to content
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

Gradle 8.2 is not compatible with Java 21 #55

Closed
sdavids opened this issue Aug 20, 2024 · 3 comments
Closed

Gradle 8.2 is not compatible with Java 21 #55

sdavids opened this issue Aug 20, 2024 · 3 comments

Comments

@sdavids
Copy link
Contributor

sdavids commented Aug 20, 2024

https://docs.gradle.org/8.4/release-notes.html#java-21

Java 21 is now supported for compiling, testing, and running such projects.

https://docs.gradle.org/8.5/release-notes.html#java-21

Gradle now supports running on Java 21.

Update compatability to java 21

distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip

adr-j/build.gradle

Lines 16 to 17 in 0e9f390

sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21

@sdavids
Copy link
Contributor Author

sdavids commented Aug 21, 2024

Current version is 8.10.

If you want to migrate to Kotlin-DSL also: I could help with that.

@adoble
Copy link
Owner

adoble commented Aug 22, 2024

Kotlin-DSL does seem to be the better alternative. If you could help with the migration that would be great.

@sdavids
Copy link
Contributor Author

sdavids commented Aug 24, 2024

#56

@sdavids sdavids closed this as completed Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants