read debug keystore properties from file

This commit is contained in:
Márton Kiss 2024-03-03 22:32:42 +01:00 committed by GitHub
parent b4df085936
commit 6dd2fa100a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,10 @@ def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file("key.properties")
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
def debugKeystoreProperties = new Properties()
def debugKeystorePropertiesFile = rootProject.file("debugkey.properties")
debugKeystoreProperties.load(new FileInputStream(debugKeystorePropertiesFile))
android {
ndkVersion "25.1.8937393"
@ -67,7 +71,7 @@ android {
debug {
keyAlias "androiddebugkey"
keyPassword "android"
storeFile file("/home/reinerrego/debug.keystore")
storeFile file(debugKeystoreProperties['storeFile'])
storePassword "android"
}