diff --git a/build.gradle b/build.gradle index 4472f9e..d7fa841 100644 --- a/build.gradle +++ b/build.gradle @@ -112,11 +112,17 @@ tasks.register('proguard', ProGuardTask) { publishing { repositories { maven { - credentials { - username secrets.username - password secrets.password + name = "Forgejo-SparrowWallet" + url = uri("https://code.sparrowwallet.com/api/packages/sparrowwallet/maven") + + credentials(HttpHeaderCredentials) { + name = "Authorization" + value = "token ${secrets.token}" + } + + authentication { + header(HttpHeaderAuthentication) } - url 'https://mymavenrepo.com/repo/Ym4HjVje06VlvgK5VxFd/' } }