Local properties file is optional

pull/194/merge
M66B 3 years ago
parent 428ce5a383
commit 5ff7017b0e

@ -12,7 +12,8 @@ def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(rootProject.file("keystore.properties"))) keystoreProperties.load(new FileInputStream(rootProject.file("keystore.properties")))
Properties localProperties = new Properties() Properties localProperties = new Properties()
localProperties.load(new FileInputStream(rootProject.file("local.properties"))) if (rootProject.file("local.properties").exists())
localProperties.load(new FileInputStream(rootProject.file("local.properties")))
android { android {
compileSdkVersion 31 compileSdkVersion 31

Loading…
Cancel
Save