xref: /MusicFree/android/gradle.properties (revision 6613e77203923e5b1742a49281bfa5de03fc1440)
1bf6e62f2S猫头猫# Project-wide Gradle settings.
2bf6e62f2S猫头猫
3bf6e62f2S猫头猫# IDE (e.g. Android Studio) users:
4bf6e62f2S猫头猫# Gradle settings configured through the IDE *will override*
5bf6e62f2S猫头猫# any settings specified in this file.
6bf6e62f2S猫头猫
7bf6e62f2S猫头猫# For more details on how to configure your build environment visit
8bf6e62f2S猫头猫# http://www.gradle.org/docs/current/userguide/build_environment.html
9bf6e62f2S猫头猫
10bf6e62f2S猫头猫# Specifies the JVM arguments used for the daemon process.
11bf6e62f2S猫头猫# The setting is particularly useful for tweaking memory settings.
12bf6e62f2S猫头猫# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
13bf6e62f2S猫头猫org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
14bf6e62f2S猫头猫
15bf6e62f2S猫头猫# When configured, Gradle will run in incubating parallel mode.
16bf6e62f2S猫头猫# This option should only be used with decoupled projects. More details, visit
17bf6e62f2S猫头猫# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18bf6e62f2S猫头猫# org.gradle.parallel=true
19bf6e62f2S猫头猫
20bf6e62f2S猫头猫# AndroidX package structure to make it clearer which packages are bundled with the
21bf6e62f2S猫头猫# Android operating system, and which are packaged with your app's APK
22bf6e62f2S猫头猫# https://developer.android.com/topic/libraries/support-library/androidx-rn
23bf6e62f2S猫头猫android.useAndroidX=true
24bf6e62f2S猫头猫
25bf6e62f2S猫头猫# Use this property to specify which architecture you want to build.
26bf6e62f2S猫头猫# You can also override it from the CLI using
27bf6e62f2S猫头猫# ./gradlew <task> -PreactNativeArchitectures=x86_64
28bf6e62f2S猫头猫reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
29bf6e62f2S猫头猫
30bf6e62f2S猫头猫# Use this property to enable support to the new architecture.
31bf6e62f2S猫头猫# This will allow you to use TurboModules and the Fabric render in
32bf6e62f2S猫头猫# your application. You should enable this flag either if you want
33bf6e62f2S猫头猫# to write custom TurboModules/Fabric components OR use libraries that
34bf6e62f2S猫头猫# are providing them.
35bf6e62f2S猫头猫newArchEnabled=false
366522534eS猫头猫
37*5589cdf3S猫头猫# Use this property to enable or disable the Hermes JS engine.
38*5589cdf3S猫头猫# If set to false, you will be using JSC instead.
39*5589cdf3S猫头猫hermesEnabled=true
40