diff options
author | steckbrief <steckbrief@chefmail.de> | 2019-07-01 22:36:28 +0200 |
---|---|---|
committer | steckbrief <steckbrief@chefmail.de> | 2019-07-01 22:36:28 +0200 |
commit | 3c15fbcd49eac625000f39ed90d3cd4efd647a2c (patch) | |
tree | 239879055e217dc4e0075c0f2a48e2e03eb4b3bd /build.gradle | |
parent | 6d24ce7a1869a20c674771b37f8fc8b65db765ed (diff) |
introduces new distribution and stage flavors as first steps for rebranding
Diffstat (limited to '')
-rw-r--r-- | build.gradle | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle index c343ae1b5..4c8ce0816 100644 --- a/build.gradle +++ b/build.gradle @@ -101,15 +101,14 @@ android { minSdkVersion 16 targetSdkVersion 28 - versionCode 266 - versionName "2.2.7" + versionCode 1 + versionName "0.0.1" archivesBaseName += "-$versionName" - applicationId "de.pixart.messenger" + applicationId "de.thedevstack.piratx" multiDexEnabled true - buildConfigField("String", "UPDATE_URL", '"https://xmpp.pix-art.de/Pix-Art_Messenger/update/"') + buildConfigField("String", "UPDATE_URL", '"NULL"') resValue "string", "applicationId", applicationId - resValue "string", "app_name", "Pix-Art Messenger" dimension "distribution" } @@ -129,13 +128,23 @@ android { targetCompatibility JavaVersion.VERSION_1_8 } - flavorDimensions("distribution") + flavorDimensions("distribution", "stage") productFlavors { + beta { + dimension "stage" + applicationIdSuffix ".beta" + versionNameSuffix "-beta" + } + piratx { + dimension "distribution" + } standardPush { dimension "distribution" } - standard + standard { + dimension "distribution" + } } if (project.hasProperty('mStoreFile') && project.hasProperty('mStorePassword') && |