mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 21:27:46 +00:00
09e418ef8e
Summary: Updates maximum heap size for the gradle build to account for building RN from source when new architecture is enabled. Changelog: [Changed][Android] - Use 2g as a default heap size for gradle builds Reviewed By: cortinico Differential Revision: D33947090 fbshipit-source-id: 2f551e688f2d92c3092e053086f6933779cd6f63
14 lines
547 B
Properties
14 lines
547 B
Properties
# This is causing issue with dependencies task: https://github.com/gradle/gradle/issues/9645#issuecomment-530746758
|
|
# org.gradle.configureondemand=true
|
|
org.gradle.daemon=true
|
|
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8
|
|
org.gradle.parallel=true
|
|
|
|
android.useAndroidX=true
|
|
kotlin_version=1.6.10
|
|
|
|
# Use this property to specify which architecture you want to build.
|
|
# You can also override it from the CLI using
|
|
# ./gradlew <task> -PreactNativeArchitectures=x86_64
|
|
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|