Whether the build.gradle can be optimized to automatically identify the JDK version and start the build&test #3789
tomyujia123
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am not familiar with the gradle, but I have an idea: Currently, JDK11 is required in the build script. Can you set the minimum build version to JDK11? However, the build script is compatible with other JDK versions of later versions in the environment? If jdk17 or jdk21 is detected, the build and unit test can be started successfully.
Currently, PR #2789 has not been merged. However, developers hope that the code of the release version can be automatically identified, rather than the hard-coded JDK version. This feature should be user-friendly to products. If this feature can be implemented, it is hoped that developers who are familiar with the gradle can submit corresponding PRs and incorporate the PRs into the integration plan.
Beta Was this translation helpful? Give feedback.
All reactions