From ec32b84ac9981fe3327b8649a3039b8a0fb36fa7 Mon Sep 17 00:00:00 2001 From: OneWay Date: Sun, 22 Nov 2026 18:15:48 +0800 Subject: [PATCH] chore(deps): bump Compose to 1.13 and compileSdk to 37.1 --- README.md | 4 ++-- app/build.gradle.kts | 7 ++++++- baselineprofile/build.gradle.kts | 7 ++++++- gradle.properties | 2 +- gradle/libs.versions.toml | 6 +++--- 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7fc66a1..8f338a5 100644 --- a/README.md +++ b/README.md @@ -86,13 +86,13 @@ The main search screen remains usable as long as at least one indexed dictionary ## Tech Stack - Kotlin 2.4.21 -- Jetpack Compose (BOM 2026.09.00) +- Jetpack Compose 1.13 (BOM 2026.11.01) - Material 3 1.5.0 - Coroutines and Flow 1.11.0 - DataStore Preferences 1.3.0 - Paging 3.5.3 - OkHttp 5.5.1 -- kotlinx.serialization 1.12.0 +- kotlinx.serialization 1.13.0 - AboutLibraries 15.3.0 metadata generation - Android Gradle Plugin 9.5.1 diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4cfc611..d8390a7 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -87,7 +87,12 @@ kotlin { android { namespace = "com.example.research" - compileSdk = project.property("compileSdk").toString().toInt() + val compileSdkSpec = project.property("compileSdk").toString().split(".").map(String::toInt) + compileSdk { + version = release(compileSdkSpec[0]) { + minorApiLevel = compileSdkSpec.getOrElse(1) { 0 } + } + } defaultConfig { applicationId = "com.example.research" diff --git a/baselineprofile/build.gradle.kts b/baselineprofile/build.gradle.kts index bcb82a4..96c9e6b 100644 --- a/baselineprofile/build.gradle.kts +++ b/baselineprofile/build.gradle.kts @@ -5,7 +5,12 @@ plugins { android { namespace = "com.example.research.baselineprofile" - compileSdk = project.property("compileSdk").toString().toInt() + val compileSdkSpec = project.property("compileSdk").toString().split(".").map(String::toInt) + compileSdk { + version = release(compileSdkSpec[0]) { + minorApiLevel = compileSdkSpec.getOrElse(1) { 0 } + } + } targetProjectPath = ":app" defaultConfig { diff --git a/gradle.properties b/gradle.properties index 1fa3a18..4c5bc53 100644 --- a/gradle.properties +++ b/gradle.properties @@ -41,6 +41,6 @@ kotlin.daemon.jvmargs=-Xmx3g -XX:+UseParallelGC android.nonTransitiveRClass=true # SDK Versions -compileSdk=37 +compileSdk=37.1 minSdk=31 targetSdk=37 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4048e12..15e1f94 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,15 +4,15 @@ activity_compose = "1.13.0" agp = "9.5.1" baselineprofile = "1.5.0" benchmark_macro = "1.5.0" -compose_bom = "2026.09.00" -compose_runtime = "1.13.0-rc01" +compose_bom = "2026.11.01" +compose_runtime = "1.13.0" core = "1.19.1" datastore_preferences = "1.3.0" documentfile = "1.1.0" junit = "1.3.0" kotlin = "2.4.21" lifecycle_runtime_ktx = "2.11.0" -material3 = "1.5.0-rc01" +material3 = "1.5.0" okhttp = "5.5.1" paging = "3.5.3" profileinstaller = "1.4.1"