mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 21:27:46 +00:00
28dd1bbe0f
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38882 This turns on local caching for Gradle builds. From now on, some of the tasks of the build will be cached inside the `.gradle` folder. This will benefit 'clean builds' and builds happening after branch/context switch. CI will also benefit from this improvement as we're storing the cache folder on CircleCI. After this we'll have to follow-up and enabling `Cacheable` on each of our task as they're currently all disabled. Changelog: [Internal] [Changed] - Enable local caching for Gradle Reviewed By: mdvacca Differential Revision: D48187656 fbshipit-source-id: 25734ed692a69874721e86c50498b075af0fda19
11 lines
374 B
Properties
11 lines
374 B
Properties
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8
|
|
org.gradle.parallel=true
|
|
org.gradle.caching=true
|
|
|
|
android.useAndroidX=true
|
|
|
|
# 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
|