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