1# Project-wide Gradle settings.
2
3# IDE (e.g. Android Studio) users:
4# Gradle settings configured through the IDE *will override*
5# any settings specified in this file.
6
7# For more details on how to configure your build environment visit
8# http://www.gradle.org/docs/current/userguide/build_environment.html
9
10# Specifies the JVM arguments used for the daemon process.
11# The setting is particularly useful for tweaking memory settings.
12# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
13org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
14
15# When configured, Gradle will run in incubating parallel mode.
16# This option should only be used with decoupled projects. More details, visit
17# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18# org.gradle.parallel=true
19
20# AndroidX package structure to make it clearer which packages are bundled with the
21# Android operating system, and which are packaged with your app's APK
22# https://developer.android.com/topic/libraries/support-library/androidx-rn
23android.useAndroidX=true
24
25# Automatically convert third-party libraries to use AndroidX
26android.enableJetifier=true
27
28# Version of flipper SDK to use with React Native
29FLIPPER_VERSION=0.182.0
30
31# Use this property to specify which architecture you want to build.
32# You can also override it from the CLI using
33# ./gradlew <task> -PreactNativeArchitectures=x86_64
34reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
35
36# Use this property to enable support to the new architecture.
37# This will allow you to use TurboModules and the Fabric render in
38# your application. You should enable this flag either if you want
39# to write custom TurboModules/Fabric components OR use libraries that
40# are providing them.
41newArchEnabled=true
42
43# Use this property to enable or disable the Hermes JS engine.
44# If set to false, you will be using JSC instead.
45hermesEnabled=true
46
47# Enable GIF support in React Native images (~200 B increase)
48expo.gif.enabled=true
49# Enable webp support in React Native images (~85 KB increase)
50expo.webp.enabled=true
51# Enable animated webp support (~3.4 MB increase)
52# Disabled by default because iOS doesn't support animated webp
53expo.webp.animated=false
54