net-http/gradle/publish/sonatype.gradle

12 lines
348 B
Groovy
Raw Normal View History

2022-10-20 10:19:32 +02:00
if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
nexusPublishing {
repositories {
sonatype {
username = project.property('ossrhUsername')
password = project.property('ossrhPassword')
packageGroup = "org.xbib"
}
}
2022-10-20 10:19:32 +02:00
}
}