From 73d85b0b5692502aaf4374cdbca39cb622402f43 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 10 Nov 2017 15:44:30 +0100 Subject: #8743 adds new build type beta that rewrites the packageID. This will be needed to have the FDroid beta channel in IzzySofts repository and the official releases in the official FDroid repository. --- app/build.gradle | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'app/build.gradle') diff --git a/app/build.gradle b/app/build.gradle index 7a2fa73a..60ae394f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,12 @@ apply plugin: 'com.android.application' android { compileSdkVersion 26 buildToolsVersion '26.0.0' -; + + defaultConfig { + applicationId "se.leap.bitmaskclient" + resValue "string", "app_name", "Bitmask" + } + signingConfigs { release { storeFile project.hasProperty('storeFileProperty') ? file(storeFileProperty) : null @@ -28,6 +33,11 @@ android { if(signingConfigs.contains(release)) signingConfig signingConfigs.release.isSigningReady() ? signingConfigs.release : signingConfigs.debug } + beta { + initWith release + applicationIdSuffix ".beta" + resValue "string", "app_name", "Bitmask Beta" + } } lintOptions { -- cgit v1.2.3