z3950/gradle/publish/sonatype.gradle
2023-04-14 18:59:28 +02:00

12 lines
349 B
Groovy

if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
nexusPublishing {
repositories {
sonatype {
username = project.property('ossrhUsername')
password = project.property('ossrhPassword')
packageGroup = "org.xbib"
}
}
}
}