graphics/gradle/publish/sonatype.gradle
2023-05-26 10:11:40 +02:00

11 lines
348 B
Groovy

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