build: change publication repository

This commit is contained in:
oSumAtrIX 2023-08-11 01:06:20 +02:00
parent 72ffcbbc44
commit b16e1763c0
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
1 changed files with 6 additions and 10 deletions

View File

@ -109,14 +109,10 @@ subprojects {
publishing {
repositories {
maven {
url = if (suffix.contains("SNAPSHOT")) {
uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
} else {
uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
}
url = uri("https://maven.pkg.github.com/revanced/Apktool")
credentials {
username = (project.properties["ossrhUsername"] ?: "").toString()
password = (project.properties["ossrhPassword"] ?: "").toString()
username = System.getenv("GITHUB_ACTOR") ?: project.findProperty("gpr.user").toString()
password = System.getenv("GITHUB_TOKEN") ?: project.findProperty("gpr.key").toString()
}
}
}
@ -151,9 +147,9 @@ subprojects {
}
}
scm {
connection = "scm:git:git://github.com/iBotPeaches/Apktool.git"
developerConnection = "scm:git:git@github.com:iBotPeaches/Apktool.git"
url = "https://github.com/iBotPeaches/Apktool"
connection = "scm:git:git://github.com/revanced/Apktool.git"
developerConnection = "scm:git:git@github.com:revanced/Apktool.git"
url = "https://github.com/revanced/Apktool"
}
}
}