mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56733 - Remove `hermesV1Enabled` / `react.hermesV1Enabled` Gradle property and all branching it controls - Rename `HERMES_V1_VERSION_NAME` to `HERMES_VERSION_NAME` in `version.properties` - Remove `hermesV1Enabled` from `PrivateReactExtension`, `ProjectUtils`, `PropertyUtils`, `ReactPlugin` - Simplify `DependencyUtils.Coordinates` to single Hermes version - Make `-DHERMESVM_HEAP_HV_MODE=HEAP_HV_PREFER32` CMake flag unconditional - Remove `-DHERMES_V1_ENABLED=1` CMake argument from `ReactAndroid` and Fantom builds - Delete `hermesV1Enabled=true` from `gradle.properties` - Update all Gradle plugin tests ## Changelog: [Android][Removed] - Remove hermesV1Enabled and simplify the code ## Test plan - [x] Gradle plugin: `./gradlew -p packages/gradle-plugin build` — BUILD SUCCESSFUL, all tests pass - [x] Android: `./gradlew :packages:rn-tester:android:app:assembleDebug` — BUILD SUCCESSFUL Reviewed By: cortinico Differential Revision: D104244582 fbshipit-source-id: 7d12af5b934aac9d431e89d9a2eac41213c997a1
27 lines
1.1 KiB
Properties
27 lines
1.1 KiB
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 stable builds. This will force hermes version
|
|
# set in the sdks/hermes-engine/version.properties file to be used. This has a higher
|
|
# priority than react.internal.useHermesNightly.
|
|
react.internal.useHermesStable=false
|
|
|
|
# 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=true
|