From 1ce66e254098eae42199b90d9b71a312362c1908 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 9 Jan 2019 18:15:47 +0000 Subject: [PATCH] Updated build flavors --- app/build.gradle | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 5596b3b2a7..8b533ee1f1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,14 +23,12 @@ android { minifyEnabled = true useProguard = true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - buildConfigField "boolean", "BETA_RELEASE", "true" } debug { debuggable = true minifyEnabled = false useProguard = false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - buildConfigField "boolean", "BETA_RELEASE", "true" } } @@ -42,12 +40,21 @@ android { buildConfigField "boolean", "PLAY_STORE_RELEASE", "false" buildConfigField "String", "PRO_FEATURES", "\"https://email.faircode.eu/pro/\"" buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/open-source-email/releases/latest\"" + buildConfigField "boolean", "BETA_RELEASE", "true" } - play { + play_beta { dimension "all" buildConfigField "boolean", "PLAY_STORE_RELEASE", "true" buildConfigField "String", "PRO_FEATURES", "\"https://email.faircode.eu/#pro\"" buildConfigField "String", "GITHUB_LATEST_API", "\"\"" + buildConfigField "boolean", "BETA_RELEASE", "true" + } + play_release { + dimension "all" + buildConfigField "boolean", "PLAY_STORE_RELEASE", "true" + buildConfigField "String", "PRO_FEATURES", "\"https://email.faircode.eu/#pro\"" + buildConfigField "String", "GITHUB_LATEST_API", "\"\"" + buildConfigField "boolean", "BETA_RELEASE", "false" } }