Commit 131c6abc authored by Geoffrey Métais's avatar Geoffrey Métais

Do not require debug key in gradle.properties

parent 52d43c04
......@@ -94,14 +94,16 @@ android {
storealias=androiddebugkey
storepwd=android
*/
storeFile file(keyStoreFile)
keyAlias storealias
if (System.getenv('PASSWORD_KEYSTORE') != null && !System.getenv('PASSWORD_KEYSTORE').isEmpty()){
storePassword = System.getenv('PASSWORD_KEYSTORE')
keyPassword = System.getenv('PASSWORD_KEYSTORE')
} else {
storePassword storepwd
keyPassword storepwd
if (project.hasProperty('keyStoreFile')) {
storeFile file(project.findProperty('keyStoreFile'))
keyAlias project.findProperty('storealias')
if (System.getenv('PASSWORD_KEYSTORE') != null && !System.getenv('PASSWORD_KEYSTORE').isEmpty()){
storePassword = System.getenv('PASSWORD_KEYSTORE')
keyPassword = System.getenv('PASSWORD_KEYSTORE')
} else {
storePassword project.findProperty('storepwd')
keyPassword project.findProperty('storepwd')
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment