Allow build release with debug key

This commit is contained in:
世界 2021-03-08 19:12:22 +08:00
parent a6c0bca680
commit 6ebcd5dd3d
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -287,7 +287,7 @@ android {
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
matchingFallbacks = ['release', 'debug']
signingConfig signingConfigs.release
signingConfig keystorePwd == null ? signingConfigs.debug : signingConfigs.release
}
foss {