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