From 4d2a038b744412c6d019688804aee76a65b66ca9 Mon Sep 17 00:00:00 2001 From: bennyhuo Date: Sat, 7 Oct 2023 17:36:26 +0800 Subject: [PATCH] Fix Gson version to 2.4 and Jackson version to 2.12.0 when publishing. --- .github/scripts/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/publish.sh b/.github/scripts/publish.sh index 8589df8..cf8ea7f 100755 --- a/.github/scripts/publish.sh +++ b/.github/scripts/publish.sh @@ -10,7 +10,7 @@ getProp(){ publishVersion=$(getProp VERSION_NAME) snapshotSuffix='SNAPSHOT' -./gradlew publishAllPublicationsToMavenCentral +./gradlew publishAllPublicationsToMavenCentral -PGSON_VERSION=2.4 -PJACKSON_VERSION=2.12.0 if [[ "$publishVersion" != *"$snapshotSuffix"* ]]; then echo "auto release artifacts of ${publishVersion}" ./gradlew closeAndReleaseRepository