Fix property names for ossrh username and password

This commit is contained in:
zhangkun83 2015-03-30 15:22:02 -07:00
parent f162ee59e0
commit 645d7fbf36

View File

@ -53,13 +53,13 @@ uploadArchives.repositories.mavenDeployer {
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
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/") {
if (rootProject.hasProperty("ossrhUsername") && rootProject.hasProperty("ossrhPassword")) {
authentication(userName: sonatypeUsername, password: sonatypePassword)
authentication(userName: ossrhUsername, password: ossrhPassword)
}
}
}