elx/gradle/publishing/sonatype.gradle

12 lines
300 B
Groovy
Raw Normal View History

2020-05-25 18:43:49 +02:00
if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
apply plugin: 'io.codearte.nexus-staging'
nexusStaging {
username = project.property('ossrhUsername')
password = project.property('ossrhPassword')
packageGroup = "org.xbib"
}
}