From 970eb2bf127fe68463d90c2b4d4a06f76d451160 Mon Sep 17 00:00:00 2001 From: Mygod Date: Thu, 29 Aug 2024 09:06:14 -0700 Subject: [PATCH] Fix #3167 Co-authored-by: Aaron Chen --- buildSrc/src/main/kotlin/Helpers.kt | 1 + core/build.gradle.kts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/Helpers.kt b/buildSrc/src/main/kotlin/Helpers.kt index 5dbd6f10a..85d6e5e56 100644 --- a/buildSrc/src/main/kotlin/Helpers.kt +++ b/buildSrc/src/main/kotlin/Helpers.kt @@ -64,6 +64,7 @@ fun Project.setupCore() { disable += "UseAppTint" } buildFeatures.buildConfig = true + ndkVersion = "27.0.12077973" } dependencies.add("coreLibraryDesugaring", "com.android.tools:desugar_jdk_libs:2.1.1") } diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 53fd659d7..2db45c69e 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -28,7 +28,6 @@ android { } externalNativeBuild.ndkBuild.path("src/main/jni/Android.mk") - ndkVersion = "27.0.12077973" sourceSets.getByName("androidTest") { assets.setSrcDirs(assets.srcDirs + files("$projectDir/schemas"))