update android script

This commit is contained in:
pengfei.zhou 2020-03-24 19:09:15 +08:00 committed by osborn
parent be6465f9a8
commit fcd076067f

View File

@ -3,7 +3,10 @@ apply plugin: 'maven'
Properties properties = new Properties()
properties.load(project.rootProject.file('scripts/maven.properties').newDataInputStream())
properties.load(new FileInputStream("${projectDir}/pom.properties"))
if (new File("local.properties").exists()) {
properties.load(project.rootProject.file('local.properties').newDataInputStream())
}
def user = System.getenv("BINTARY_USER")
def apiKey = System.getenv("BINTARY_APIKEY")