修正 gradle 构建脚本

This commit is contained in:
czp 2018-01-31 14:47:29 +08:00
parent 7d15fb93b2
commit 4c4be210d7

View File

@ -64,10 +64,10 @@ uploadArchives {
signing.signPom(deployment) signing.signPom(deployment)
} }
if (!hasProperty('ossUsername')) { if (!project.hasProperty('ossUsername')) {
ext.ossUsername = '' ext.ossUsername = ''
} }
if (!hasProperty('ossPassword')) { if (!project.hasProperty('ossPassword')) {
ext.ossPassword = '' ext.ossPassword = ''
} }
repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2/') { repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2/') {