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

Remove Gson Java version overwrite #7086

Merged
merged 1 commit into from Jan 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 1 addition & 4 deletions projects/gson/build.sh
Expand Up @@ -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}
Expand Down