files/gradle/publish/sonatype.gradle

12 lines
348 B
Groovy
Raw Normal View History

2023-05-24 21:08:11 +02:00
if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
nexusPublishing {
repositories {
sonatype {
username = project.property('ossrhUsername')
password = project.property('ossrhPassword')
packageGroup = "org.xbib"
}
}
}
}