phoenix: allow debug cert to be used for release on local builds

This commit is contained in:
natinusala 2019-07-10 09:48:55 +02:00
parent fa990849ba
commit cbafc7ec5b
1 changed files with 9 additions and 7 deletions

View File

@ -87,16 +87,18 @@ android {
keyPassword RELEASE_KEY_PASSWORD
}
}
else {
release {
// Use debug if you don't have RELEASE_STORE_FILE
}
}
}
buildTypes {
release {
signingConfig signingConfigs.release
if (project.hasProperty("RELEASE_STORE_FILE")) {
release {
signingConfig signingConfigs.release
}
}
else {
release {
signingConfig signingConfigs.debug
}
}
}
}