You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
489 B
Groovy
17 lines
489 B
Groovy
12 months ago
|
if (project.hasProperty('forgeJoToken')) {
|
||
|
publishing {
|
||
|
repositories {
|
||
|
maven {
|
||
|
url 'https://xbib.org/api/packages/joerg/maven'
|
||
|
credentials(HttpHeaderCredentials) {
|
||
|
name = "Authorization"
|
||
|
value = "token ${project.property('forgeJoToken')}"
|
||
|
}
|
||
|
authentication {
|
||
|
header(HttpHeaderAuthentication)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|