Android:update the upload script
This commit is contained in:
parent
ff8e7cb0a5
commit
ad29f284cd
@ -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
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,7 @@ allprojects {
|
|||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
jcenter()
|
jcenter()
|
||||||
|
mavenCentral()
|
||||||
maven { url 'https://jitpack.io' }
|
maven { url 'https://jitpack.io' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user