diff --git a/packages/react-native/ReactAndroid/build.gradle.kts b/packages/react-native/ReactAndroid/build.gradle.kts index 9df10a70b5f970..322568287ac932 100644 --- a/packages/react-native/ReactAndroid/build.gradle.kts +++ b/packages/react-native/ReactAndroid/build.gradle.kts @@ -49,7 +49,7 @@ extra["publishing_version"] = project.findProperty("VERSION_NAME")?.toString()!! // This is the version of CMake we're requesting to the Android SDK to use. // If missing it will be downloaded automatically. Only CMake versions shipped with the // Android SDK are supported (you can find them listed in the SDK Manager of Android Studio). -val cmakeVersion = System.getenv("CMAKE_VERSION") ?: "3.30.5" +val cmakeVersion = System.getenv("CMAKE_VERSION") ?: "3.31.6" extra["cmake_version"] = cmakeVersion diff --git a/private/react-native-fantom/build.gradle.kts b/private/react-native-fantom/build.gradle.kts index d40e66f97c2939..f73e8564a5b104 100644 --- a/private/react-native-fantom/build.gradle.kts +++ b/private/react-native-fantom/build.gradle.kts @@ -18,7 +18,7 @@ plugins { // This is the version of CMake we're requesting to the Android SDK to use. // If missing it will be downloaded automatically. Only CMake versions shipped with the // Android SDK are supported (you can find them listed in the SDK Manager of Android Studio). -val cmakeVersion = System.getenv("CMAKE_VERSION") ?: "3.30.5" +val cmakeVersion = System.getenv("CMAKE_VERSION") ?: "3.31.6" val cmakePath = "${getSDKPath()}/cmake/$cmakeVersion" val cmakeBinaryPath = "${cmakePath}/bin/cmake" val ndkBuildJobs = Runtime.getRuntime().availableProcessors().toString()