1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-14 21:30:13 +01:00

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

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']
}
}