moved to gitea

This commit is contained in:
2024-04-04 06:34:22 +08:00
parent 9c63bb50be
commit ab7e772abf
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)
}
}
}
}