mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
69dc655005
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53778 I've been looking into the next major bump of AGP to 9: https://developer.android.com/build/releases/agp-preview#android-gradle-plugin-built-in-kotlin This change adapts our project so that it keeps on buildign with AGP 8 (as the bump to 9 would be a breaking change), but it addresses some of the build failures we'll be having with AGP 9: - Set `resValues` build option to true (default was changed true -> false in AGP 9) - Opts out our project from `android.builtInKotlin` and `android.newDsl` for the time being. Changelog: [Android] [Fixed] - Fix build failures with RNGP due to AGP 9.0.0-alpha05 Reviewed By: alanleedev Differential Revision: D82452555 fbshipit-source-id: 99561f039bf943f5ce99008ce073ca86431cfaed
25 lines
992 B
Properties
25 lines
992 B
Properties
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8
|
|
org.gradle.parallel=true
|
|
org.gradle.caching=true
|
|
|
|
android.useAndroidX=true
|
|
|
|
# Those 2 properties are needed to make our project compatible with
|
|
# AGP 9.0.0 for the time being. Ideally we should not opt-out of
|
|
# builtInKotlin and newDsl once AGP 9.0.0 hits stable.
|
|
# More on this: https://developer.android.com/build/releases/agp-preview#android-gradle-plugin-built-in-kotlin
|
|
android.builtInKotlin=false
|
|
android.newDsl=false
|
|
|
|
# Use this property to specify which architecture you want to build.
|
|
# You can also override it from the CLI using
|
|
# ./gradlew <task> -PreactNativeArchitectures=x86_64
|
|
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|
|
|
# Controls whether to use Hermes from nightly builds. This will speed up builds
|
|
# but should NOT be turned on for CI or release builds.
|
|
react.internal.useHermesNightly=false
|
|
|
|
# Controls whether to use Hermes 1.0. Clean and rebuild when changing.
|
|
hermesV1Enabled=false
|