Skip to content

Use Java 17 by default

Olivier Gonzalez requested to merge set_java_17_by_default into v3

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?

Edited by Fabien Catteau

Merge request reports