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,6 +53,7 @@ if (project.hasProperty("signing.keyId")) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (project.hasProperty("ossrhUsername")) {
|
||||||
nexusPublishing {
|
nexusPublishing {
|
||||||
repositories {
|
repositories {
|
||||||
sonatype {
|
sonatype {
|
||||||
|
@ -62,3 +63,4 @@ nexusPublishing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue