added version name and code for ci pipeline (#111)

This commit is contained in:
Aman Singh
2023-02-28 02:14:01 +05:30
committed by GitHub Enterprise
parent b52aff1541
commit aba76445fd

View File

@@ -131,6 +131,9 @@ def reactNativeArchitectures() {
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
}
def VERSION_CODE = 24
def VERSION_NAME = "1"
android {
ndkVersion rootProject.ext.ndkVersion
@@ -140,8 +143,8 @@ android {
applicationId "com.avapp"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 24
versionName "1"
versionCode VERSION_CODE
versionName VERSION_NAME
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) {