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

GitHub gradle.yml workflow: use JDK 23 #92

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

msgilligan
Copy link
Member

Our Gradle wrapper is already using Gradle 8.10, so JDK 23 is supported.

Use -PjavaToolchainVersion=23 on the Gradle command line in gradle.yml and leave the default value of javaToolchainVersion=22 (gradle.properties) for people using Nix or other environments that don't have JDK 23 available yet.

Update secp-examples-*/build.gradle to use javaToolchainVersion when configuring toolchains.

Our Gradle wrapper is already using Gradle 8.10, so JDK 23 is supported. 

Use `-PjavaToolchainVersion=23` on the Gradle command line in gradle.yml
and leave the default value of javaToolchainVersion=22 (gradle.properties)
for people using Nix or other environments that don't have JDK 23 available
yet.

Update secp-examples-*/build.gradle to use javaToolchainVersion when
configuring toolchains.
Copy link
Member

@schildbach schildbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I must admit I don't really like different behaviour in different environments. I'd normally wait until JDK 23 is available in all supported environments.

Approved anyway.

@msgilligan msgilligan merged commit c5d471f into master Sep 20, 2024
6 checks passed
@msgilligan
Copy link
Member Author

I must admit I don't really like different behaviour in different environments.

The default is JDK 22, the command-line flag can override. So the behavior doesn't change by environment but by a command-line flag.

But I get your point.

Approved anyway.

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants