Fix property names for ossrh username and password
This commit is contained in:
parent
f162ee59e0
commit
645d7fbf36
@ -53,13 +53,13 @@ uploadArchives.repositories.mavenDeployer {
|
|||||||
|
|
||||||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
|
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
|
||||||
if (rootProject.hasProperty("ossrhUsername") && rootProject.hasProperty("ossrhPassword")) {
|
if (rootProject.hasProperty("ossrhUsername") && rootProject.hasProperty("ossrhPassword")) {
|
||||||
authentication(userName: sonatypeUsername, password: sonatypePassword)
|
authentication(userName: ossrhUsername, password: ossrhPassword)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
|
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
|
||||||
if (rootProject.hasProperty("ossrhUsername") && rootProject.hasProperty("ossrhPassword")) {
|
if (rootProject.hasProperty("ossrhUsername") && rootProject.hasProperty("ossrhPassword")) {
|
||||||
authentication(userName: sonatypeUsername, password: sonatypePassword)
|
authentication(userName: ossrhUsername, password: ossrhPassword)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user