Commit a1984b61 authored by didam's avatar didam

config build

parent 6b1962f4
...@@ -90,14 +90,14 @@ apply from: "../../node_modules/react-native/react.gradle" ...@@ -90,14 +90,14 @@ apply from: "../../node_modules/react-native/react.gradle"
* Upload all the APKs to the Play Store and people will download * Upload all the APKs to the Play Store and people will download
* the correct one based on the CPU architecture of their device. * the correct one based on the CPU architecture of their device.
*/ */
def enableSeparateBuildPerCPUArchitecture = false // def enableSeparateBuildPerCPUArchitecture = false
// def enableSeparateBuildPerCPUArchitecture = true def enableSeparateBuildPerCPUArchitecture = true
/** /**
* Run Proguard to shrink the Java bytecode in release builds. * Run Proguard to shrink the Java bytecode in release builds.
*/ */
def enableProguardInReleaseBuilds = false // def enableProguardInReleaseBuilds = false
// def enableProguardInReleaseBuilds = true def enableProguardInReleaseBuilds = true
/** /**
* The preferred build flavor of JavaScriptCore. * The preferred build flavor of JavaScriptCore.
...@@ -141,8 +141,8 @@ android { ...@@ -141,8 +141,8 @@ android {
reset() reset()
enable enableSeparateBuildPerCPUArchitecture enable enableSeparateBuildPerCPUArchitecture
universalApk false // If true, also generate a universal APK universalApk false // If true, also generate a universal APK
include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" // include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
// include "armeabi-v7a", "x86" include "armeabi-v7a", "x86"
} }
} }
signingConfigs { signingConfigs {
...@@ -161,7 +161,7 @@ android { ...@@ -161,7 +161,7 @@ android {
// see https://facebook.github.io/react-native/docs/signed-apk-android. // see https://facebook.github.io/react-native/docs/signed-apk-android.
signingConfig signingConfigs.release signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds minifyEnabled enableProguardInReleaseBuilds
// shrinkResources true shrinkResources false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
} }
// release { // release {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment