mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
Summary: enable useAndroidX and enableJetifier that transforms non-Androidx third-party libraries to use AndroidX. [Android] [Changed] - useAndroidX and enableJetifier config in template gradle.properties Pull Request resolved: https://github.com/facebook/react-native/pull/24319 Differential Revision: D14822125 Pulled By: cpojer fbshipit-source-id: 596a92f26fb06b077da507583b72af2b5abf712a
22 lines
910 B
Properties
22 lines
910 B
Properties
# Project-wide Gradle settings.
|
|
|
|
# IDE (e.g. Android Studio) users:
|
|
# Gradle settings configured through the IDE *will override*
|
|
# any settings specified in this file.
|
|
|
|
# For more details on how to configure your build environment visit
|
|
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
|
|
# Specifies the JVM arguments used for the daemon process.
|
|
# The setting is particularly useful for tweaking memory settings.
|
|
# Default value: -Xmx10248m -XX:MaxPermSize=256m
|
|
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
|
|
|
# When configured, Gradle will run in incubating parallel mode.
|
|
# This option should only be used with decoupled projects. More details, visit
|
|
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
# org.gradle.parallel=true
|
|
|
|
android.useAndroidX=true
|
|
android.enableJetifier=true
|