From 0ef8c65cf0e8d94da82a522ca54281dfa72b7af3 Mon Sep 17 00:00:00 2001 From: Bambooin Date: Mon, 31 Mar 2025 20:14:33 +0800 Subject: [PATCH] chore: uprade kotlin to 1.9.25 This will make it build under jdk 21. ./gradlew assemblefdroidRelease * What went wrong: Could not determine the dependencies of task ':commons_compress_7z:compileReleaseKotlin'. > Unknown Kotlin JVM target: 21 --- build.gradle | 2 +- gradle/libs.versions.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 47c25c4bd3..81bda2e8f7 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ buildscript { plugins { id "com.diffplug.spotless" version "6.25.0" - id "com.google.devtools.ksp" version "1.9.10-1.0.13" apply false + id "com.google.devtools.ksp" version "1.9.25-1.0.20" apply false } allprojects { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index bdb124b129..5845050c77 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ compileSdk = "34" minSdk = "21" targetSdk = "34" -kotlin = "1.9.10" +kotlin = "1.9.25" jacocoAndroid = "0.2.1" gradle = "8.5.2" @@ -174,4 +174,4 @@ junrar = { module = "com.github.junrar:junrar", version.ref = "junrar" } acra-core = { module = "ch.acra:acra-core", version.ref = "acraCore" } leakcanary-android = { module = "com.squareup.leakcanary:leakcanary-android", version.ref = "leakcanaryAndroid" } -amaze-trashBin = { module = "com.github.TeamAmaze:AmazeTrashBin", version.ref = "amazeTrashBin" } \ No newline at end of file +amaze-trashBin = { module = "com.github.TeamAmaze:AmazeTrashBin", version.ref = "amazeTrashBin" }