mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
4d91f40fbd
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/33467 We can now change the `hermes-engine` dependency to be consumed by the `react-native` NPM package and not anymore from the standalone `hermes-engine`. This will allow for a better stability as the `hermes-engine` and the `react-native` were built from source at the same instant in time. Changelog: [Android] [Changed] - Update template/android and RN Tester to use `hermes-engine` from the `react-native` NPM package. Reviewed By: hramos Differential Revision: D34213795 fbshipit-source-id: 29e54b37db0103f72e9983976ef9147fe69116e7
12 lines
623 B
Groovy
12 lines
623 B
Groovy
rootProject.name = 'HelloWorld'
|
|
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
|
include ':app'
|
|
includeBuild('../node_modules/react-native-gradle-plugin')
|
|
|
|
if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true") {
|
|
include(":ReactAndroid")
|
|
project(":ReactAndroid").projectDir = file('../node_modules/react-native/ReactAndroid')
|
|
include(":ReactAndroid:hermes-engine")
|
|
project(":ReactAndroid:hermes-engine").projectDir = file('../node_modules/react-native/ReactAndroid/hermes-engine')
|
|
}
|