|
|
@ -90,9 +90,13 @@ install { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
def bintrayUser = System.getenv("BINTRAY_USER") |
|
|
|
def bintrayUser |
|
|
|
def bintrayKey = System.getenv("BINTRAY_KEY") |
|
|
|
def bintrayKey |
|
|
|
if (bintrayKey == null) { |
|
|
|
def travis = System.getenv("TRAVIS") |
|
|
|
|
|
|
|
if (travis) { |
|
|
|
|
|
|
|
bintrayUser = System.getenv("BINTRAY_USER") |
|
|
|
|
|
|
|
bintrayKey = System.getenv("BINTRAY_KEY") |
|
|
|
|
|
|
|
} else { |
|
|
|
Properties props = new Properties() |
|
|
|
Properties props = new Properties() |
|
|
|
props.load(project.rootProject.file('local.properties').newDataInputStream()) |
|
|
|
props.load(project.rootProject.file('local.properties').newDataInputStream()) |
|
|
|
bintrayUser = props.getProperty('bintray.user') |
|
|
|
bintrayUser = props.getProperty('bintray.user') |
|
|
|