File tree Expand file tree Collapse file tree
packages/react-native-reanimated/android Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -270,7 +270,10 @@ android {
270270 }
271271 externalNativeBuild {
272272 cmake {
273- version = System . getenv(" CMAKE_VERSION" ) ?: " 3.22.1"
273+ // We'll let the build system to resolve the version of CMake
274+ // but keeping this here as a reminder that you should actually
275+ // match the version being used in the React Native repo
276+ // version = System.getenv("CMAKE_VERSION") ?: "3.22.1"
274277 path " CMakeLists.txt"
275278 }
276279 }
@@ -518,7 +521,12 @@ dependencies {
518521
519522 implementation " com.facebook.react:react-android" // version substituted by RNGP
520523 if (JS_RUNTIME == " hermes" ) {
521- implementation " com.facebook.react:hermes-android" // version substituted by RNGP
524+ if (System . getenv(" BUILD_TYPE" ) == " release" ) {
525+ def hermesPath = " ../../../@exodus/hermes-engine/android/" ;
526+ releaseImplementation files(hermesPath + " hermes-release.aar" )
527+ } else {
528+ implementation(" com.facebook.react:hermes-android" )
529+ }
522530 }
523531}
524532
You can’t perform that action at this time.
0 commit comments