@@ -10,14 +10,14 @@ import com.android.build.OutputFile
1010 */
1111react {
1212 /* Folders */
13- // The root of your project, i.e. where "package.json" lives. Default is '..'
14- // root = file("../")
15- // The folder where the react-native NPM package is. Default is ../node_modules/react-native
16- // reactNativeDir = file("../node_modules/react-native")
17- // The folder where the react-native Codegen package is. Default is ../node_modules/react-native- codegen
18- // codegenDir = file("../node_modules/react-native- codegen")
19- // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
20- // cliFile = file("../node_modules/react-native/cli.js")
13+ // The root of your project, i.e. where "package.json" lives. Default is '../.. '
14+ // root = file("../../ ")
15+ // The folder where the react-native NPM package is. Default is ../../ node_modules/react-native
16+ // reactNativeDir = file("../../ node_modules/react-native")
17+ // The folder where the react-native Codegen package is. Default is ../../ node_modules/@ react-native/ codegen
18+ // codegenDir = file("../../ node_modules/@ react-native/ codegen")
19+ // The cli.js file which is the React Native CLI entrypoint. Default is ../../ node_modules/react-native/cli.js
20+ // cliFile = file("../../ node_modules/react-native/cli.js")
2121
2222 /* Variants */
2323 // The list of variants to that are debuggable. For those we're going to
@@ -51,6 +51,9 @@ react {
5151 //
5252 // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
5353 // hermesFlags = ["-O", "-output-source-map"]
54+
55+ /* Autolinking */
56+ autolinkLibrariesWithApp()
5457}
5558
5659/**
@@ -160,5 +163,3 @@ dependencies {
160163 implementation jscFlavor
161164 }
162165}
163-
164- apply from : file(" ../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle" ); applyNativeModulesAppBuildGradle(project)
0 commit comments