fix sonatype publishing
This commit is contained in:
parent
19654992ce
commit
67b36609fe
2 changed files with 10 additions and 10 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue