We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93a08b0 commit cf1774cCopy full SHA for cf1774c
1 file changed
bintray.gradle
@@ -1,8 +1,7 @@
1
-def bintrayUser = getProperty('bintray.user')
2
-def bintrayApiKey = getProperty('bintray.key')
3
-def bintrayPassphrase = getProperty('bintray.gpg.password')
4
-
5
-if (bintrayUser != null && bintrayApiKey != null && bintrayPassphrase != null) {
+if (hasProperty('bintray.user') && hasProperty('bintray.key') && hasProperty('bintray.gpg.password')) {
+ def bintrayUser = getProperty('bintray.user')
+ def bintrayApiKey = getProperty('bintray.key')
+ def bintrayPassphrase = getProperty('bintray.gpg.password')
6
apply plugin: 'com.jfrog.bintray'
7
bintray {
8
user = bintrayUser
0 commit comments