Android:update the upload script

This commit is contained in:
pengfei.zhou 2021-03-26 23:10:18 +08:00 committed by osborn
parent ff8e7cb0a5
commit ad29f284cd
3 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@ allprojects {
repositories { repositories {
google() google()
jcenter() jcenter()
mavenCentral()
maven { url 'https://jitpack.io' } maven { url 'https://jitpack.io' }
} }
def needReplaceLocal = true def needReplaceLocal = true

View File

@ -35,7 +35,7 @@ uploadArchives {
description 'git rev-parse HEAD'.execute([], projectDir).text.trim() description 'git rev-parse HEAD'.execute([], projectDir).text.trim()
} }
repository(url: repo + properties.name) { repository(url: repo) {
authentication(userName: user, password: apiKey) authentication(userName: user, password: apiKey)
} }
} }

View File

@ -18,6 +18,7 @@ allprojects {
repositories { repositories {
google() google()
jcenter() jcenter()
mavenCentral()
maven { url 'https://jitpack.io' } maven { url 'https://jitpack.io' }
} }
} }