]> git.ktnx.net Git - mobile-ledger.git/commitdiff
add a pre-release build variant
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 18 Apr 2021 10:53:05 +0000 (10:53 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 18 Apr 2021 10:53:05 +0000 (10:53 +0000)
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

index 4bae3dbf474efb2e4ec419f4509eb29db497904f..79f562173e13d4a622a74b4be38ba0727bb6fd89 100644 (file)
@@ -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'