Use Java 17 by default
What does this MR do?
Use Java 17 and Gradle 7.3.3 by default
Note: This is a breaking change! Any project that uses a build.gradle
with a directive that is no longer supported by gradle 7
, such as compile
or runtime
, will fail. See here for a list of common configuration commands that are no longer supported in gradle 7
.
To work around this, you'll need to set DS_JAVA_VERSION
to a version of Java which uses a compatible version of gradle
. See the note on the Pre-installed Versions
of gradle in the Dependency Scanning documentation for more details.
What are the relevant issue numbers?
gitlab-org/gitlab#362299 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Fabien Catteau