Skip to content

Commit

Permalink
Read from properties and/or env
Browse files Browse the repository at this point in the history
  • Loading branch information
meson10 committed Apr 13, 2018
1 parent b9a5b02 commit 1e17523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ publishing {
}

bintray {
user = property('bintray.username')
key = property('bintray.password')
user = hasProperty('bintray_username') ? bintray_username : System.getenv('BINTRAY_USERNAME')
key = hasProperty('bintray_password') ? bintray_password : System.getenv('BINTRAY_PASSWORD')
configurations = ['archives']
pkg {
publish = true
Expand Down

0 comments on commit 1e17523

Please sign in to comment.