Skip to content

Commit

Permalink
Update how-to-build-from-source for 0.72+ (#3659)
Browse files Browse the repository at this point in the history
  • Loading branch information
cortinico authored Jul 7, 2023
1 parent 4855d07 commit 22da0cc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions website/contributing/how-to-build-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
+ }
+ }
```
Expand Down

0 comments on commit 22da0cc

Please sign in to comment.