Remote repositories name

This commit is contained in:
Karlatemp 2021-02-10 10:06:41 +08:00
parent 32ef89add1
commit b3e9e2a91b
No known key found for this signature in database
GPG Key ID: 21FBDDF664FF06F8

View File

@ -51,6 +51,7 @@ fun Project.configureRemoteRepos(
val sonatype = keys.loadKey("sonatype")
if (sonatype.isValid) {
maven {
name = "MavenCentral"
// Maven Central
setUrl("https://oss.sonatype.org/service/local/staging/deploy/maven2")
@ -66,6 +67,7 @@ fun Project.configureRemoteRepos(
if (isBintrayAvailable()) {
maven {
name = "Bintray"
setUrl("https://api.bintray.com/maven/him188moe/mirai/$bintrayPkgName/;publish=1;override=1")
credentials {