This commit is contained in:
14
build.gradle
14
build.gradle
@@ -55,6 +55,19 @@ publishing {
|
||||
maven {
|
||||
url = 'https://mvn.woggioni.net/'
|
||||
}
|
||||
maven {
|
||||
name = "Gitea"
|
||||
url = uri("https://gitea.woggioni.net/api/packages/woggioni/maven")
|
||||
|
||||
credentials(HttpHeaderCredentials) {
|
||||
name = "Authorization"
|
||||
value = "token ${System.getenv()["PUBLISHER_TOKEN"]}"
|
||||
}
|
||||
|
||||
authentication {
|
||||
header(HttpHeaderAuthentication)
|
||||
}
|
||||
}
|
||||
}
|
||||
publications {
|
||||
maven(MavenPublication) {
|
||||
@@ -62,4 +75,3 @@ publishing {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user