build: Publish to GitHub Packages

Because Jitpack can not sign artifacts.
This commit is contained in:
oSumAtrIX
2024-02-14 01:12:54 +01:00
parent 55a5d3bd4e
commit 7684b70324
2 changed files with 9 additions and 3 deletions

View File

@@ -24,8 +24,14 @@ tasks {
repositories {
mavenCentral()
mavenLocal()
maven { url = uri("https://jitpack.io") }
google()
maven {
url = uri("https://maven.pkg.github.com/revanced/registry")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
}
}
}
dependencies {