From ca59e4b7d5d3020959ee81bb619ca17f6632f9d6 Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Sun, 2 Jan 2022 02:11:57 +0100 Subject: [PATCH] Remove Gson Java version overwrite (#7086) Gson minimum Java target version has been increased to Java 7, it is therefore no longer necessary to manually overwrite it here. --- projects/gson/build.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/projects/gson/build.sh b/projects/gson/build.sh index 04db1fd1b96..1eb72560453 100755 --- a/projects/gson/build.sh +++ b/projects/gson/build.sh @@ -15,12 +15,9 @@ # ################################################################################ -# Change Java version because Gson is currently compiled with Java 6, which is only -# supported up to JDK 11, but Docker image uses newer JDK -# Additionally choose >= Java 9 because tests won't compile otherwise (JDK-7196160) # Skip ProGuard because it is only needed for tests (which are skipped as well) and # because it would fail since `jmods` JDK folder is removed from this Docker image -MAVEN_ARGS="-DskipTests -Dmaven.compiler.release=9 -Dproguard.skip -X" +MAVEN_ARGS="-DskipTests -Dproguard.skip -X" # Only build 'gson' Maven module cd gson $MVN --batch-mode --update-snapshots package ${MAVEN_ARGS}