2023-05-24 20:16:02 +02:00
|
|
|
if (project.hasProperty('forgeJoToken')) {
|
|
|
|
publishing {
|
|
|
|
repositories {
|
|
|
|
maven {
|
2024-07-21 22:05:38 +02:00
|
|
|
url project.property('forgeJoUrl')
|
2023-05-24 20:16:02 +02:00
|
|
|
credentials(HttpHeaderCredentials) {
|
|
|
|
name = "Authorization"
|
|
|
|
value = "token ${project.property('forgeJoToken')}"
|
|
|
|
}
|
|
|
|
authentication {
|
|
|
|
header(HttpHeaderAuthentication)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|