|
| 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 Gradle Daemon. The setting is |
| 11 | +# particularly useful for configuring JVM memory settings for build performance. |
| 12 | +# This does not affect the JVM settings for the Gradle client VM. |
| 13 | +# The default is `-Xmx512m -XX:MaxMetaspaceSize=256m`. |
| 14 | +org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 |
| 15 | + |
| 16 | +# When configured, Gradle will fork up to org.gradle.workers.max JVMs to execute |
| 17 | +# projects in parallel. To learn more about parallel task execution, see the |
| 18 | +# section on Gradle build performance: |
| 19 | +# https://docs.gradle.org/current/userguide/performance.html#parallel_execution. |
| 20 | +# Default is `false`. |
| 21 | +#org.gradle.parallel=true |
| 22 | + |
| 23 | +# AndroidX package structure to make it clearer which packages are bundled with the |
| 24 | +# Android operating system, and which are packaged with your app's APK |
| 25 | +# https://developer.android.com/topic/libraries/support-library/androidx-rn |
| 26 | +android.useAndroidX=true |
| 27 | +# Automatically convert third-party libraries to use AndroidX |
| 28 | +android.enableJetifier=true |
| 29 | +# Jetifier randomly fails on these libraries |
| 30 | +android.jetifier.ignorelist=hermes-android |
| 31 | + |
| 32 | +# Use this property to specify which architecture you want to build. |
| 33 | +# You can also override it from the CLI using |
| 34 | +# ./gradlew <task> -PreactNativeArchitectures=x86_64 |
| 35 | +reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 |
| 36 | + |
| 37 | +# Use this property to enable support to the new architecture. |
| 38 | +# This will allow you to use TurboModules and the Fabric render in |
| 39 | +# your application. You should enable this flag either if you want |
| 40 | +# to write custom TurboModules/Fabric components OR use libraries that |
| 41 | +# are providing them. |
| 42 | +# Note that this is incompatible with web debugging. |
| 43 | +#newArchEnabled=true |
| 44 | +#bridgelessEnabled=true |
| 45 | + |
| 46 | +# Uncomment the line below to build React Native from source. |
| 47 | +#react.buildFromSource=true |
| 48 | + |
| 49 | +# Version of Android NDK to build against. |
| 50 | +#ANDROID_NDK_VERSION=26.1.10909125 |
| 51 | + |
| 52 | +# Version of Kotlin to build against. |
| 53 | +#KOTLIN_VERSION=1.8.22 |
0 commit comments