Add play and play experimental name and code version

This commit is contained in:
Filipe Brito 2019-10-03 16:32:32 -03:00
parent 7277cea3db
commit b8075c6b46
2 changed files with 8 additions and 4 deletions

View File

@ -137,8 +137,8 @@ android {
applicationId "chat.rocket.android" applicationId "chat.rocket.android"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode rootProject.ext.appCodeVersion versionCode rootProject.ext.playCodeVersion
versionName rootProject.ext.appNameVersion versionName rootProject.ext.playNameVersion
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String] manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String]
} }
@ -182,6 +182,8 @@ android {
playExperimental { playExperimental {
dimension "store" dimension "store"
applicationId "chat.rocket.reactnative" applicationId "chat.rocket.reactnative"
versionCode rootProject.ext.playExperimentalCodeVersion
versionName rootProject.ext.playExperimentalNameVersion
manifestPlaceholders = [ manifestPlaceholders = [
appIcon: "@mipmap/ic_launcher_experimental", appIcon: "@mipmap/ic_launcher_experimental",
appName: "@string/app_name_experimental" appName: "@string/app_name_experimental"

View File

@ -1,8 +1,10 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext { ext {
appNameVersion = '4.0.0' playNameVersion = '4.0.0'
appCodeVersion = 2081 playCodeVersion = 2081
playExperimentalNameVersion = '1.20.0'
playExperimentalCodeVersion = 2081
javaVersion = JavaVersion.VERSION_1_8 javaVersion = JavaVersion.VERSION_1_8
minSdkVersion = 21 minSdkVersion = 21
compileSdkVersion = 28 compileSdkVersion = 28