net/gradle/publish/sonatype.gradle

13 lines
349 B
Groovy
Raw Permalink Normal View History

2022-10-20 09:43:33 +02:00
if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
2023-04-05 20:23:01 +02:00
nexusPublishing {
repositories {
sonatype {
username = project.property('ossrhUsername')
password = project.property('ossrhPassword')
packageGroup = "org.xbib"
}
}
2022-10-20 09:43:33 +02:00
}
}