Skip to content

Commit

Permalink
Update env variable access
Browse files Browse the repository at this point in the history
  • Loading branch information
filwiesner committed Nov 28, 2020
1 parent 1982b2f commit 4b2d8c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,18 @@ kotlin {
}

bintray {
user = project.hasProperty('btUser') ? btUser : "N/A"
key = project.hasProperty('btKey') ? btKey : "N/A"
user = System.getenv('btUser') ?: "N/A"
key = System.getenv('btKey') ?: "N/A"

pkg {
repo = 'maven'
name = project.hasProperty('btPackage') ? btPackage : "N/A"
name = System.getenv('btPackage') ?: "N/A"
licenses = ['MIT']
vcsUrl = 'https://github.com/wooodenleg/TmiK.git'
issueTrackerUrl = 'https://github.com/wooodenleg/TmiK/issues'

version {
name = project.hasProperty('btVersion') ? btVersion : project.version
name = System.getenv('btVersion') ?: project.version
released = new Date()
vcsTag = project.version
}
Expand Down

0 comments on commit 4b2d8c4

Please sign in to comment.