Skip to content

Commit 22da0cc

Browse files
authored
Update how-to-build-from-source for 0.72+ (#3659)
1 parent 4855d07 commit 22da0cc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

website/contributing/how-to-build-from-source.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ Both with stable releases and nightlies, you will be consuming **precompiled** a
2929
```diff
3030
// ...
3131
include ':app'
32-
includeBuild('../node_modules/react-native-gradle-plugin')
32+
includeBuild('../node_modules/@react-native/gradle-plugin')
33+
3334
+ includeBuild('../node_modules/react-native') {
3435
+ dependencySubstitution {
35-
+ substitute(module("com.facebook.react:react-android")).using(project(":ReactAndroid"))
36-
+ substitute(module("com.facebook.react:react-native")).using(project(":ReactAndroid"))
37-
+ substitute(module("com.facebook.react:hermes-android")).using(project(":ReactAndroid:hermes-engine"))
38-
+ substitute(module("com.facebook.react:hermes-engine")).using(project(":ReactAndroid:hermes-engine"))
36+
+ substitute(module("com.facebook.react:react-android")).using(project(":packages:react-native:ReactAndroid"))
37+
+ substitute(module("com.facebook.react:react-native")).using(project(":packages:react-native:ReactAndroid"))
38+
+ substitute(module("com.facebook.react:hermes-android")).using(project(":packages:react-native:ReactAndroid:hermes-engine"))
39+
+ substitute(module("com.facebook.react:hermes-engine")).using(project(":packages:react-native:ReactAndroid:hermes-engine"))
3940
+ }
4041
+ }
4142
```

0 commit comments

Comments
 (0)