Skip to content

Commit 55a0c83

Browse files
committed
Use external properties if env variables are not defined.
1 parent 37a6c81 commit 55a0c83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ release {
156156
afterReleaseBuild.dependsOn bintrayUpload
157157

158158
bintray {
159-
user = System.getenv('BINTRAY_USER')
160-
key = System.getenv('BINTRAY_KEY')
159+
user = System.getenv('BINTRAY_USER') ?: BINTRAY_USER
160+
key = System.getenv('BINTRAY_KEY') ?: BINTRAY_KEY
161161
publications = ['maven']
162162
publish = true
163163
pkg {

0 commit comments

Comments
 (0)