From c27491b1d0ab459237398640154631e3002c8f69 Mon Sep 17 00:00:00 2001 From: oz Date: Thu, 20 Nov 2025 10:54:40 +0100 Subject: [PATCH] fix: prevent auto-install ndk version if root project specifies a version, we should trust it is available and not auto-install another version --- android/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index b6af1c3..129d852 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -72,6 +72,10 @@ task deleteCmakeCache() { android { compileSdkVersion getExtOrIntegerDefault("compileSdkVersion") + if (rootProject.hasProperty("ndkVersion")) { + ndkVersion rootProject.ext.ndkVersion + } + defaultConfig { minSdkVersion getExtOrIntegerDefault("minSdkVersion") targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")