From f36e9a96bf6b3c887bb67fe26e6e6203ff65ced5 Mon Sep 17 00:00:00 2001 From: ACh Sulfate Date: Sat, 23 Nov 2024 22:31:56 +0800 Subject: [PATCH] fix: set compile sdk to 35 to make androidx.appcompat happy --- build-logic/convention/src/main/kotlin/Version.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-logic/convention/src/main/kotlin/Version.kt b/build-logic/convention/src/main/kotlin/Version.kt index 13d9c7ba7f..2af87fea4b 100644 --- a/build-logic/convention/src/main/kotlin/Version.kt +++ b/build-logic/convention/src/main/kotlin/Version.kt @@ -6,10 +6,10 @@ import java.util.Properties object Version { val java = JavaVersion.VERSION_11 - const val compileSdkVersion = 34 + const val compileSdkVersion = 35 val buildToolsVersion = findBuildToolsVersion() const val minSdk = 24 - const val targetSdk = 34 + const val targetSdk = 35 const val versionName = "1.5.4" private const val defaultNdkVersion = "27.0.12077973" @@ -62,7 +62,7 @@ object Version { } private fun findBuildToolsVersion(): String { - val defaultBuildToolsVersion = "34.0.0" // AGP 8.2.0 need Build Tools 34.0.0 + val defaultBuildToolsVersion = "35.0.0" // AGP 8.2.0 need Build Tools 34.0.0 return File(System.getenv("ANDROID_HOME"), "build-tools").listFiles()?.filter { it.isDirectory }?.maxOfOrNull { it.name } ?.also { println("Using build tools version $it") } ?: defaultBuildToolsVersion