From b16e1763c07039e84fb20c21de6054ce2238ce68 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Fri, 11 Aug 2023 01:06:20 +0200 Subject: [PATCH] build: change publication repository --- build.gradle.kts | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 52d85e2f..2d44de55 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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" } } }