@@ -11,11 +11,11 @@ react {
1111 // The root of your project, i.e. where "package.json" lives. Default is '../..'
1212 // root = file("../../")
1313 // The folder where the react-native NPM package is. Default is ../../node_modules/react-native
14- // reactNativeDir = file("../../node_modules/react-native")
14+ reactNativeDir = file(" ../ ../../node_modules/react-native" )
1515 // The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
16- // codegenDir = file("../../node_modules/@react-native/codegen")
16+ codegenDir = file(" ../ ../../node_modules/@react-native/codegen" )
1717 // The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
18- // cliFile = file("../../node_modules/react-native/cli.js")
18+ cliFile = file(" ../ ../../node_modules/react-native/cli.js" )
1919
2020 /* Variants */
2121 // The list of variants to that are debuggable. For those we're going to
@@ -45,7 +45,7 @@ react {
4545
4646 /* Hermes Commands */
4747 // The hermes compiler command to run. By default it is 'hermesc'
48- // hermesCommand = "$rootDir/my-custom- hermesc/bin /hermesc"
48+ hermesCommand = " $rootDir /../../node_modules/react-native/sdks/ hermesc/%OS-BIN% /hermesc"
4949 //
5050 // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
5151 // hermesFlags = ["-O", "-output-source-map"]
@@ -57,7 +57,7 @@ react {
5757/**
5858 * Set this to true to Run Proguard on Release builds to minify the Java bytecode.
5959 */
60- def enableProguardInReleaseBuilds = false
60+ def enableProguardInReleaseBuilds = true
6161
6262/**
6363 * The preferred build flavor of JavaScriptCore (JSC)
0 commit comments