From c1eba3ecfe42c8f7299b9ab5d2478eefd115db20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Mon, 1 Mar 2021 02:11:49 +0800 Subject: [PATCH] Fix flavor matching --- TMessagesProj/build.gradle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/TMessagesProj/build.gradle b/TMessagesProj/build.gradle index b14f1021a..b5ae6316f 100644 --- a/TMessagesProj/build.gradle +++ b/TMessagesProj/build.gradle @@ -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'] } }