elx/gradle/publishing/sonatype.gradle

12 lines
300 B
Groovy
Raw Normal View History

2020-05-21 23:51:40 +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"
}
}