migrated to Gitea
Some checks failed
CI / build (push) Failing after 47s

This commit is contained in:
2024-04-14 16:14:54 +08:00
parent f440de36ac
commit 616c91a342
4 changed files with 39 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ allprojects {
repositories {
maven {
url = 'https://woggioni.net/mvn/'
url = getProperty('gitea.maven.url')
content {
includeGroup 'net.woggioni'
}
@@ -22,8 +22,20 @@ allprojects {
publishing {
repositories {
maven {
url = 'https://mvn.woggioni.net/'
name = "Gitea"
url = uri(getProperty('gitea.maven.url'))
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "token ${System.getenv()["PUBLISHER_TOKEN"]}"
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}
}