Skip to content

Commit a7aad63

Browse files
committed
Upgrade Kotlin and KSP
Fixes multiple build errors. Once parcelize is fixed, we should be good to use built-in Kotlin completely Ref: https://issuetracker.google.com/issues/478401081 Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
1 parent fd192b4 commit a7aad63

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
* SPDX-License-Identifier: GPL-3.0-or-later
44
*/
55

6+
buildscript {
7+
dependencies {
8+
// https://developer.android.com/build/releases/agp-9-0-0-release-notes#runtime-dependency-on-kotlin-gradle-plugin-upgrade
9+
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlin.get()}")
10+
}
11+
}
12+
613
plugins {
714
alias(libs.plugins.android.application) apply false
815
alias(libs.plugins.android.legacy.kapt) apply false

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ groupie = "2.10.1"
2323
jsoup = "1.22.1"
2424
junit = "4.13.2"
2525
junit-ext = "1.3.0"
26-
kotlin = "2.2.10"
27-
ksp = "2.3.4"
26+
kotlin = "2.3.0"
27+
ksp = "2.3.5"
2828
ktlint = "1.8.0"
2929
leakcanary = "2.14"
3030
lifecycle = "2.9.4" # Newer versions require minSdk >= 23

0 commit comments

Comments
 (0)