From 9c00b1e340f7d22347a1c713109dda7890bf3301 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Thu, 26 Jun 2025 13:30:31 +0800 Subject: [PATCH] Bump to latest stable Kotlin and KSP releases Disable KSP2 using the experimental parameter. We still cannot update room library as that conflicts with epoxy. The goal remains to drop epoxy after migrating to jetpack compose. Signed-off-by: Aayush Gupta --- app/build.gradle.kts | 4 ++++ gradle/libs.versions.toml | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 40e30823a..9e4f1291e 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -19,6 +19,9 @@ * */ +@file:OptIn(KspExperimental::class) + +import com.google.devtools.ksp.KspExperimental import java.util.Properties plugins { @@ -171,6 +174,7 @@ androidComponents { ksp { arg("room.schemaLocation", "$projectDir/schemas") + useKsp2 = false // TODO: Drop after getting rid of epoxy } dependencies { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a706bfb6f..42da00872 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -14,8 +14,8 @@ hiddenapibypass = "6.1" hilt = "2.56.2" hiltWork = "1.2.0" junit = "4.13.2" -kotlin = "2.1.20" -ksp = "2.1.20-1.0.32" # New versions depends upon KSP2 which conflicts with epoxy +kotlin = "2.2.0" +ksp = "2.2.0-2.0.2" ktlint = "12.1.2" leakcanary = "2.14" libsu = "6.0.0" @@ -28,7 +28,7 @@ processPhoenix = "3.0.0" protobufJavalite = "4.31.1" rikkaHiddenAPI = "4.3.3" rikkaTools = "4.4.0" -room = "2.6.1" # New versions depends upon KSP2 which conflicts with epoxy +room = "2.6.1" # New versions conflicts with epoxy2 and ksp serialization = "1.8.1" shimmer = "0.5.0" shizuku = "13.1.5"