mirror of
https://github.com/dzeiocom/OpenHealth.git
synced 2025-04-23 19:32:11 +00:00
fix: error when keystore is not available
This commit is contained in:
parent
5049c8afa4
commit
57eef94f31
@ -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) {}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user