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:
parent
731ac65220
commit
563222fa7d
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user