j2html/gradle/publish/sonatype.gradle
2024-03-02 22:53:34 +01: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"
}
}
}
}