Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions packages/react-native-reanimated/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,10 @@ android {
}
externalNativeBuild {
cmake {
version = System.getenv("CMAKE_VERSION") ?: "3.22.1"
// We'll let the build system to resolve the version of CMake
// but keeping this here as a reminder that you should actually
// match the version being used in the React Native repo
// version = System.getenv("CMAKE_VERSION") ?: "3.22.1"
path "CMakeLists.txt"
}
}
Expand Down Expand Up @@ -518,7 +521,12 @@ dependencies {

implementation "com.facebook.react:react-android" // version substituted by RNGP
if (JS_RUNTIME == "hermes") {
implementation "com.facebook.react:hermes-android" // version substituted by RNGP
if (System.getenv("BUILD_TYPE") == "release") {
def hermesPath = "../../../@exodus/hermes-engine/android/";
releaseImplementation files(hermesPath + "hermes-release.aar")
} else {
implementation("com.facebook.react:hermes-android")
}
}
}

Expand Down