1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2025-01-31 08:54:57 +01:00

added null check for signing.gradle

This commit is contained in:
Mariotaku Lee 2015-03-17 17:53:14 +08:00
parent 731ac65220
commit 563222fa7d

View File

@ -56,10 +56,16 @@ android {
}
buildTypes {
debug {
signingConfig signingConfigs.debug
if (rootProject.file('signing.properties').exists()
|| System.getenv('DEBUG_KEYSTORE_BASE64') != null) {
signingConfig signingConfigs.debug
}
}
release {
signingConfig signingConfigs.release
if (rootProject.file('signing.properties').exists()
|| System.getenv('RELEASE_KEYSTORE_BASE64') != null) {
signingConfig signingConfigs.release
}
}
}