build: move to maven central revanced-patcher fork

This commit is contained in:
inotia00 2023-07-24 00:43:25 +09:00
parent 65af056d5b
commit d37247da4b

View File

@ -2,22 +2,13 @@ plugins {
kotlin("jvm") version "1.8.22" kotlin("jvm") version "1.8.22"
} }
group = "app.revanced" group = "io.github.inotia00"
val githubUsername: String = project.findProperty("gpr.user") as? String ?: System.getenv("GITHUB_ACTOR")
val githubPassword: String = project.findProperty("gpr.key") as? String ?: System.getenv("GITHUB_TOKEN")
repositories { repositories {
google() google()
mavenCentral() mavenCentral()
mavenLocal() mavenLocal()
maven { maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots") }
url = uri("https://maven.pkg.github.com/revanced/revanced-patcher")
credentials {
username = githubUsername
password = githubPassword
}
}
maven { maven {
url = uri("https://repo.sleeping.town") url = uri("https://repo.sleeping.town")
content { content {
@ -27,7 +18,7 @@ repositories {
} }
dependencies { dependencies {
implementation("app.revanced:revanced-patcher:11.0.4") implementation("io.github.inotia00:revanced-patcher:11.0.6-SNAPSHOT")
implementation("com.android.tools.smali:smali:3.0.3") implementation("com.android.tools.smali:smali:3.0.3")
implementation("com.android.tools.smali:smali-dexlib2:3.0.3") implementation("com.android.tools.smali:smali-dexlib2:3.0.3")