Commit 645d7fbf authored by zhangkun83's avatar zhangkun83

Fix property names for ossrh username and password

parent f162ee59
......@@ -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)
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment