From 8c83e9f4474db03692c56d969e9a1e52d0893cf2 Mon Sep 17 00:00:00 2001 From: Eduardo Speroni Date: Tue, 22 Sep 2026 20:03:31 -0300 Subject: [PATCH] build: CMake 4.1.2 for the runtime native build The SDK repository's stable channel now offers CMake 4.1.2, and the runtime's CMakeLists only asks for 3.18.1, which is above the 3.5 floor CMake 4 still accepts. Only the runtime AAR build here uses this version; the scripts shipped to apps never invoke CMake. --- .github/workflows/npm_release.yml | 2 +- .github/workflows/pull_request.yml | 2 +- test-app/runtime/build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm_release.yml b/.github/workflows/npm_release.yml index cdc0b6b6b..2b35ad81d 100644 --- a/.github/workflows/npm_release.yml +++ b/.github/workflows/npm_release.yml @@ -16,7 +16,7 @@ env: NPM_TAG: "next" EMULATOR_NAME: "runtime-emu" NDK_VERSION: r29 - CMAKE_VERSION: "3.31.6" + CMAKE_VERSION: "4.1.2" ANDROID_API: 33 ANDROID_ABI: x86_64 NDK_ARCH: linux diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index b8ec6522b..223c41ee9 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -6,7 +6,7 @@ env: NPM_TAG: "pr" EMULATOR_NAME: "runtime-emu" NDK_VERSION: r29 - CMAKE_VERSION: "3.31.6" + CMAKE_VERSION: "4.1.2" ANDROID_API: 33 ANDROID_ABI: x86_64 NDK_ARCH: linux diff --git a/test-app/runtime/build.gradle b/test-app/runtime/build.gradle index 4add7d915..16a6951e0 100644 --- a/test-app/runtime/build.gradle +++ b/test-app/runtime/build.gradle @@ -152,7 +152,7 @@ android { } externalNativeBuild { cmake { - version = "3.31.6" + version = "4.1.2" path = "CMakeLists.txt" } }