From 1cd8b497f7fa0f416410201cbd64809313875796 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Sat, 17 Feb 2024 15:15:19 +0100 Subject: [PATCH] set greenDebug as default flavor (#4251) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I had it happen multiple times recently that I was testing green Tusky but Android Studio actually put blue Tusky on my device and I wasted a lot of time until I found out 😣 This change should tell it that greenDebug is the preferred flavor for developing. --- app/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index ac1bc41b5..708ee7e9a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -41,6 +41,9 @@ android { buildConfigField("String", "SUPPORT_ACCOUNT_URL", "\"$SUPPORT_ACCOUNT_URL\"") } buildTypes { + debug { + isDefault true + } release { minifyEnabled true shrinkResources true @@ -55,6 +58,7 @@ android { resValue "string", "app_name", APP_NAME + " Test" applicationIdSuffix ".test" versionNameSuffix "-" + gitSha + isDefault true } }