|
|
|
|
@ -15,15 +15,17 @@ android {
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
def propertiesFile = rootProject.file("local.properties")
|
|
|
|
|
properties.load(new FileInputStream(propertiesFile))
|
|
|
|
|
|
|
|
|
|
properties.load(new FileInputStream(propertiesFile))
|
|
|
|
|
signingConfigs {
|
|
|
|
|
debug {
|
|
|
|
|
storeFile file(properties["signingConfig.storeFile"])
|
|
|
|
|
storePassword properties["signingConfig.storePassword"]
|
|
|
|
|
keyAlias properties["signingConfig.keyAlias"]
|
|
|
|
|
keyPassword properties["signingConfig.keyPassword"]
|
|
|
|
|
if(propertiesFile.text != ""){
|
|
|
|
|
properties.load(new FileInputStream(propertiesFile))
|
|
|
|
|
|
|
|
|
|
properties.load(new FileInputStream(propertiesFile))
|
|
|
|
|
signingConfigs {
|
|
|
|
|
debug {
|
|
|
|
|
storeFile file(properties["signingConfig.storeFile"])
|
|
|
|
|
storePassword properties["signingConfig.storePassword"]
|
|
|
|
|
keyAlias properties["signingConfig.keyAlias"]
|
|
|
|
|
keyPassword properties["signingConfig.keyPassword"]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}catch(IOException ignored){}
|
|
|
|
|
|