mirror of
https://github.com/dzeiocom/OpenHealth.git
synced 2025-07-03 01:59:18 +00:00
fix: error when keystore is not available
This commit is contained in:
@ -16,6 +16,7 @@ android {
|
||||
|
||||
create("release") {
|
||||
|
||||
try {
|
||||
val keystoreProperties = Properties().apply {
|
||||
load(rootProject.file("./keystore.properties").reader())
|
||||
}
|
||||
@ -26,6 +27,8 @@ android {
|
||||
keyAlias = keystoreProperties["keyAlias"] as String
|
||||
storeFile = file(keystoreProperties["storeFile"] as String)
|
||||
}
|
||||
} catch (e: Exception) {}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user