Skip to content

Commit cf1774c

Browse files
committed
Fix build
1 parent 93a08b0 commit cf1774c

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

bintray.gradle

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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) {
1+
if (hasProperty('bintray.user') && hasProperty('bintray.key') && hasProperty('bintray.gpg.password')) {
2+
def bintrayUser = getProperty('bintray.user')
3+
def bintrayApiKey = getProperty('bintray.key')
4+
def bintrayPassphrase = getProperty('bintray.gpg.password')
65
apply plugin: 'com.jfrog.bintray'
76
bintray {
87
user = bintrayUser

0 commit comments

Comments
 (0)