Trying to remove signing dependencies when not signing. #24.

This commit is contained in:
Rob Greene 2018-05-09 21:57:24 -05:00
parent f3cecfd415
commit 70c715bed9
1 changed files with 2 additions and 2 deletions

View File

@ -165,11 +165,11 @@ uploadArchives {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
authentication(userName: findProperty('ossrhUsername'), password: findProperty('ossrhPassword'))
}
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
authentication(userName: findProperty('ossrhUsername'), password: findProperty('ossrhPassword'))
}
// Only preserve the compile and non-SWT POM dependencies