add forgeJo publishing repo
This commit is contained in:
parent
32ec99f6b7
commit
0c2eaad86f
1 changed files with 17 additions and 0 deletions
17
gradle/publish/forgejo.gradle
Normal file
17
gradle/publish/forgejo.gradle
Normal 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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue