z3950/gradle/publish/sonatype.gradle

13 lines
349 B
Groovy
Raw Normal View History

2023-04-14 18:59:28 +02:00
if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
nexusPublishing {
repositories {
sonatype {
username = project.property('ossrhUsername')
password = project.property('ossrhPassword')
packageGroup = "org.xbib"
}
}
}
}