add forgeJo publishing repo

This commit is contained in:
Jörg Prante 2023-05-22 20:46:41 +02:00
parent 32ec99f6b7
commit 0c2eaad86f

View file

@ -0,0 +1,17 @@
if (project.hasProperty("forgeJoToken")) {
publishing {
repositories {
maven {
url 'https://xbib.org/api/packages/xbib/maven'
authentication {
basic(BasicAuthentication)
}
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "token {forgeJoToken}"
}
}
}
}
}