gradle-plugins/gradle/publishing/sonatype.gradle

12 lines
300 B
Groovy
Raw Permalink Normal View History

2021-11-09 14:08:25 +01: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"
}
}