Revert "Allow builds without OSSRH credentials"

This reverts commit 4275a870d54a58b3bfbcf39416355431afc1f4fb.
This commit is contained in:
Lanchon 2017-09-21 23:39:12 -03:00
parent 4275a870d5
commit 67a06dc84f

View File

@ -100,7 +100,6 @@ uploadArchives {
}
}
if (project.hasProperty('ossrhUsername')) {
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication userName: ossrhUsername, password: ossrhPassword
}
@ -108,7 +107,6 @@ uploadArchives {
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication userName: ossrhUsername, password: ossrhPassword
}
}
beforeDeployment {
signing.signPom(it)