fix bintray user and key properties absence (#4)

This commit is contained in:
vms 2018-11-19 15:25:31 +03:00 committed by GitHub
parent 9172fba948
commit 1323e02c95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,6 +309,9 @@ def publishSettings(project, projectName, projectDescription) {
}
bintray {
if(!hasProperty("bintrayUser") || !hasProperty("bintrayKey")) {
return
}
user = bintrayUser
key = bintrayKey