moved to gitea
All checks were successful
CI / build (push) Successful in 14s

This commit is contained in:
2024-04-04 06:34:22 +08:00
parent 9c63bb50be
commit dbf99afe2f
4 changed files with 37 additions and 7 deletions

View File

@@ -45,7 +45,18 @@ allprojects {
publishing {
repositories {
maven {
url = publishMavenRepositoryUrl
name = "Gitea"
url = uri(getProperty('gitea.maven.url'))
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "token ${System.getenv()["PUBLISHER_TOKEN"]}"
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}