switch publishing to forgejo instance

This commit is contained in:
Craig Raw 2024-10-09 12:22:51 +02:00
parent e61be95e03
commit 4316683a61

View file

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