File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 16
16
},
17
17
"files" : [
18
18
" android" ,
19
+ " build.gradle.kts" ,
19
20
" cli.js" ,
20
21
" flow" ,
21
22
" flow-typed" ,
23
+ " gradle.properties" ,
22
24
" index.js" ,
23
25
" interface.js" ,
24
26
" jest-preset.js" ,
61
63
" sdks/.hermesversion" ,
62
64
" sdks/hermes-engine" ,
63
65
" sdks/hermesc" ,
66
+ " settings.gradle.kts" ,
64
67
" template.config.js" ,
65
68
" template" ,
66
69
" !template/node_modules" ,
Original file line number Diff line number Diff line change @@ -16,11 +16,15 @@ pluginManagement {
16
16
include(
17
17
" :ReactAndroid" ,
18
18
" :ReactAndroid:hermes-engine" ,
19
- " :ReactAndroid:external-artifacts" ,
20
- " :packages:rn-tester:android:app" )
19
+ " :ReactAndroid:external-artifacts" )
21
20
22
- // Include this to enable codegen Gradle plugin.
23
- includeBuild(" packages/react-native-gradle-plugin/" )
21
+ // If the ./packages folder exists, then we're inside the React Native repository.
22
+ // If not, a users is consuming this project for a build from source.
23
+ if (File (" ./packages" ).exists()) {
24
+ include(" :packages:rn-tester:android:app" )
25
+ // Include this to enable codegen Gradle plugin.
26
+ includeBuild(" packages/react-native-gradle-plugin/" )
27
+ }
24
28
25
29
rootProject.name = " react-native-github"
26
30
You can’t perform that action at this time.
0 commit comments