summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2017-11-10 15:44:30 +0100
committercyBerta <cyberta@riseup.net>2017-11-10 15:44:30 +0100
commit73d85b0b5692502aaf4374cdbca39cb622402f43 (patch)
tree8446ad01bc1278b945d9d5a6543009c8216a8947 /app/build.gradle
parent964bcda23fa0ecf9e5ee576f20ff1b554ee2e5fb (diff)
#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.
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle12
1 files changed, 11 insertions, 1 deletions
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 {