Skip to content

Commit 17ec995

Browse files
committed
Fix detecting of user properties
1 parent 947826f commit 17ec995

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ plugindev {
3737
}
3838

3939
bintray {
40-
user = hasProperty('bintrayUser') ? bintrayUser : ''
41-
key = hasProperty('bintrayApiKey') ? bintrayApiKey : ''
40+
user = project.hasProperty('bintrayUser') ? bintrayUser : ''
41+
key = project.hasProperty('bintrayApiKey') ? bintrayApiKey : ''
4242
pkg {
4343
repo = 'gradle-plugins'
4444
userOrg = 'researchgate'
4545
version {
4646
gpg {
4747
sign = true
48-
passphrase = hasProperty('bintrayGpgPassphrase') ? bintrayGpgPassphrase : ''
48+
passphrase = project.hasProperty('bintrayGpgPassphrase') ? bintrayGpgPassphrase : ''
4949
}
5050
}
5151
}

0 commit comments

Comments
 (0)