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"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode rootProject.ext.appCodeVersion
versionName rootProject.ext.appNameVersion
versionCode rootProject.ext.playCodeVersion
versionName rootProject.ext.playNameVersion
vectorDrawables.useSupportLibrary = true
manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String]
}
@ -182,6 +182,8 @@ android {
playExperimental {
dimension "store"
applicationId "chat.rocket.reactnative"
versionCode rootProject.ext.playExperimentalCodeVersion
versionName rootProject.ext.playExperimentalNameVersion
manifestPlaceholders = [
appIcon: "@mipmap/ic_launcher_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.
buildscript {
ext {
appNameVersion = '4.0.0'
appCodeVersion = 2081
playNameVersion = '4.0.0'
playCodeVersion = 2081
playExperimentalNameVersion = '1.20.0'
playExperimentalCodeVersion = 2081
javaVersion = JavaVersion.VERSION_1_8
minSdkVersion = 21
compileSdkVersion = 28