Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.

Commit d149ba8

Browse files
committed
chore: update repository configuration to use GitHub package registry and remove Gitea credentials
1 parent f5861d5 commit d149ba8

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

settings.gradle.kts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@ dependencyResolutionManagement {
1212
google()
1313
maven("https://jitpack.io")
1414
maven {
15-
url = uri("https://git.naijun.dev/api/packages/revanced/maven")
16-
17-
credentials<HttpHeaderCredentials>(HttpHeaderCredentials::class.java) {
18-
name = "Authorization"
19-
value = "token ${extra["gitea.accessToken"] as String? ?: System.getenv("GITEA_TOKEN")}"
20-
}
21-
22-
authentication {
23-
register("header", HttpHeaderAuthentication::class.java)
15+
// A repository must be specified for some reason. "registry" is a dummy.
16+
url = uri("https://maven.pkg.github.com/amplerevanced/registry")
17+
credentials {
18+
username = System.getenv("GITHUB_ACTOR") ?: extra["gpr.user"] as String?
19+
password = System.getenv("GITHUB_TOKEN") ?: extra["gpr.key"] as String?
2420
}
2521
}
2622
maven {

0 commit comments

Comments
 (0)