Fix flavor matching

This commit is contained in:
世界 2021-03-01 02:11:49 +08:00
parent 8be6130ffe
commit c1eba3ecfe
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
1 changed files with 5 additions and 3 deletions

View File

@ -282,7 +282,7 @@ android {
multiDexEnabled true
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
matchingFallbacks = ['debug']
matchingFallbacks = ['release', 'debug']
signingConfig keystorePwd == null ? signingConfigs.debug : signingConfigs.release
}
@ -294,7 +294,7 @@ android {
multiDexEnabled true
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
matchingFallbacks = ['debug']
matchingFallbacks = ['release', 'debug']
signingConfig signingConfigs.release
}
@ -306,15 +306,17 @@ android {
multiDexEnabled true
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
matchingFallbacks = ['debug']
matchingFallbacks = ['release', 'debug']
}
fdroidArmRelease {
initWith foss
matchingFallbacks = ['release', 'debug']
}
fdroidArm64Release {
initWith foss
matchingFallbacks = ['release', 'debug']
}
}