From 9ccdaae8555d5ab3a00ca2b378c50bb7e803fb57 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 29 Mar 2023 16:18:40 +0200 Subject: [PATCH] Update how-to-build-from-source for 0.72+ --- website/contributing/how-to-build-from-source.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/website/contributing/how-to-build-from-source.md b/website/contributing/how-to-build-from-source.md index f11c40c64c8..fe54f579b0c 100644 --- a/website/contributing/how-to-build-from-source.md +++ b/website/contributing/how-to-build-from-source.md @@ -29,13 +29,14 @@ Both with stable releases and nightlies, you will be consuming **precompiled** a ```diff // ... include ':app' - includeBuild('../node_modules/react-native-gradle-plugin') + includeBuild('../node_modules/@react-native/gradle-plugin') + + includeBuild('../node_modules/react-native') { + dependencySubstitution { -+ substitute(module("com.facebook.react:react-android")).using(project(":ReactAndroid")) -+ substitute(module("com.facebook.react:react-native")).using(project(":ReactAndroid")) -+ substitute(module("com.facebook.react:hermes-android")).using(project(":ReactAndroid:hermes-engine")) -+ substitute(module("com.facebook.react:hermes-engine")).using(project(":ReactAndroid:hermes-engine")) ++ substitute(module("com.facebook.react:react-android")).using(project(":packages:react-native:ReactAndroid")) ++ substitute(module("com.facebook.react:react-native")).using(project(":packages:react-native:ReactAndroid")) ++ substitute(module("com.facebook.react:hermes-android")).using(project(":packages:react-native:ReactAndroid:hermes-engine")) ++ substitute(module("com.facebook.react:hermes-engine")).using(project(":packages:react-native:ReactAndroid:hermes-engine")) + } + } ```