From b3543a7d0c6d4614d0cedb01359f7bbbb3f68d02 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 18 Apr 2021 10:53:05 +0000 Subject: [PATCH] add a pre-release build variant to be used as debug aid when initial install needs to be tested, but keeping the data in the debug-variant ap --- app/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 4bae3dbf..79f56217 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -46,6 +46,12 @@ android { versionNameSuffix '-debug' applicationIdSuffix '.debug' } + pre { + applicationIdSuffix '.pre' + versionNameSuffix '-pre' + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } } sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } } buildToolsVersion '29.0.3' -- 2.39.5