Skip to content

Commit 990206f

Browse files
committed
build: upgrade Kotlin 2.1.21, KSP 2.1.21-2.0.2, Room 2.7.2
Coordinated lockstep upgrade (deferred from the build-stack PR, where these could not move because Room 2.6.1's generated DAO is incompatible with KSP2): - Kotlin 2.0.21 -> 2.1.21 - KSP 2.0.21-1.0.27 -> 2.1.21-2.0.2 (KSP2; matched to Kotlin) - Room 2.6.1 -> 2.7.2 (fixes the KSP2 suspend-DAO Continuation codegen) Roomigrant 0.3.4 remains compatible; generated migrations still build. Room exports identical schema JSON (app/schemas unchanged), so there is no database version change or migration impact (DB stays at version 8).
1 parent a9517d7 commit 990206f

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ dependencies {
7878
exclude(group = "androidx.appcompat")
7979
}
8080

81-
implementation("androidx.room:room-runtime:2.6.1")
82-
ksp("androidx.room:room-compiler:2.6.1")
83-
implementation("androidx.room:room-ktx:2.6.1")
81+
implementation("androidx.room:room-runtime:2.7.2")
82+
ksp("androidx.room:room-compiler:2.7.2")
83+
implementation("androidx.room:room-ktx:2.7.2")
8484
implementation("com.github.MatrixDev.Roomigrant:RoomigrantLib:0.3.4")
8585
ksp("com.github.MatrixDev.Roomigrant:RoomigrantCompiler:0.3.4")
8686

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ tasks.register<Delete>("clean") {
88
}
99

1010
plugins {
11-
id("com.google.devtools.ksp") version "2.0.21-1.0.27" apply false
11+
id("com.google.devtools.ksp") version "2.1.21-2.0.2" apply false
1212
}

buildSrc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ apply(from = "../repositories.gradle.kts")
88
dependencies {
99
// Gradle Plugins
1010
implementation("com.android.tools.build:gradle:8.13.2")
11-
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21")
11+
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.21")
1212
}

0 commit comments

Comments
 (0)