Skip to content

Commit f86cf43

Browse files
authored
Merge pull request #5 from kanyun-inc/feature/fix-dependecies
Fix Gson version to 2.4 and Jackson version to 2.12.0 when publishing.
2 parents 1619795 + e01ee9c commit f86cf43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ getProp(){
1010
publishVersion=$(getProp VERSION_NAME)
1111
snapshotSuffix='SNAPSHOT'
1212

13-
./gradlew publishAllPublicationsToMavenCentral
13+
./gradlew publishAllPublicationsToMavenCentral -PGSON_VERSION=2.4 -PJACKSON_VERSION=2.12.0
1414
if [[ "$publishVersion" != *"$snapshotSuffix"* ]]; then
1515
echo "auto release artifacts of ${publishVersion}"
1616
./gradlew closeAndReleaseRepository

0 commit comments

Comments
 (0)