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

Set gradle java src & target compat = VERSION_11 #5860

Merged

Conversation

ghubstan
Copy link
Contributor

@ghubstan ghubstan commented Nov 23, 2021

This change sets java source and class generation version targets to 11. The Bisq distribution is built with JDK 11, but the build file's source target has remained at 1.10. Upgrading allows devs to use java syntax features and apis available @since 11, and it might help anyone building the src avoid confusion over which JDK they should use: the minimum is JDK 11, but the old sourceCompatibility was 1.10, implying JDK 10 might work.

See https://docs.gradle.org/current/userguide/java_plugin.html#sec:java-extension

This change sets java source and class generation version targets to 11.
The Bisq distribution is built with JDK 11, but source target has remained at 1.10.
Upgrading allows devs to use some Java syntax features available @SInCE 11, and it
might help anyone building the src avoid confusion over which JDK they should use
(minimum is JDK 11).

See https://docs.gradle.org/current/userguide/java_plugin.html#sec:java-extension
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

utACK

@ripcurlx ripcurlx added this to the v1.8.1 milestone Nov 24, 2021
@ripcurlx ripcurlx merged commit 9557750 into bisq-network:master Nov 24, 2021
@ghubstan ghubstan deleted the gradle-java-src-n-target-compat branch January 3, 2022 12:32
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