fix sonatype publishing

This commit is contained in:
Jörg Prante 2020-05-19 16:55:43 +02:00
parent 19654992ce
commit 67b36609fe
2 changed files with 10 additions and 10 deletions

View file

@ -52,3 +52,13 @@ if (project.hasProperty("signing.keyId")) {
sign publishing.publications.mavenJava
}
}
nexusPublishing {
repositories {
sonatype {
username = project.property('ossrhUsername')
password = project.property('ossrhPassword')
packageGroup = "org.xbib"
}
}
}

View file

@ -3,16 +3,6 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')
apply plugin: 'io.codearte.nexus-staging'
nexusPublishing {
repositories {
sonatype {
username = project.property('ossrhUsername')
password = project.property('ossrhPassword')
packageGroup = "org.xbib"
}
}
}
nexusStaging {
username = project.property('ossrhUsername')
password = project.property('ossrhPassword')