Skip to content

Commit ae81ef9

Browse files
committed
Properly obtain Properties from local.properties
1 parent 40a1ebf commit ae81ef9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ if (credentialsFile.exists()) {
2222
}
2323

2424
// @formatter:off
25-
def bintrayUser = properties.get("BINTRAY_USER", System.getenv("bintrayUser"))
26-
def bintrayKey = properties.get("BINTRAY_KEY", System.getenv("bintrayKey"))
27-
def sonatypeUser = properties.get("SONATYPE_USER", System.getenv("sonatypeUser"))
28-
def sonatypePass = properties.get("SONATYPE_PASS", System.getenv("sonatypePass"))
25+
def bintrayUser = properties.getProperty("BINTRAY_USER", System.getenv("bintrayUser"))
26+
def bintrayKey = properties.getProperty("BINTRAY_KEY", System.getenv("bintrayKey"))
27+
def sonatypeUser = properties.getProperty("SONATYPE_USER", System.getenv("sonatypeUser"))
28+
def sonatypePass = properties.getProperty("SONATYPE_PASS", System.getenv("sonatypePass"))
2929
// @formatter:on
3030

3131
allprojects {

0 commit comments

Comments
 (0)