check for ossrhUsername in gradle build
This commit is contained in:
parent
b04eec4f26
commit
83f9fd3745
1 changed files with 8 additions and 6 deletions
|
@ -53,12 +53,14 @@ if (project.hasProperty("signing.keyId")) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
nexusPublishing {
|
if (project.hasProperty("ossrhUsername")) {
|
||||||
repositories {
|
nexusPublishing {
|
||||||
sonatype {
|
repositories {
|
||||||
username = project.property('ossrhUsername')
|
sonatype {
|
||||||
password = project.property('ossrhPassword')
|
username = project.property('ossrhUsername')
|
||||||
packageGroup = "org.xbib"
|
password = project.property('ossrhPassword')
|
||||||
|
packageGroup = "org.xbib"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue