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 {
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/'
}
}