1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-03-17 13:19:43 +00:00

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>
This commit is contained in:
Aayush Gupta
2026-01-29 14:59:25 +08:00
parent fd192b4f3f
commit a7aad63bbb
2 changed files with 9 additions and 2 deletions

View File

@@ -3,6 +3,13 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
buildscript {
dependencies {
// https://developer.android.com/build/releases/agp-9-0-0-release-notes#runtime-dependency-on-kotlin-gradle-plugin-upgrade
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlin.get()}")
}
}
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.legacy.kapt) apply false

View File

@@ -23,8 +23,8 @@ groupie = "2.10.1"
jsoup = "1.22.1"
junit = "4.13.2"
junit-ext = "1.3.0"
kotlin = "2.2.10"
ksp = "2.3.4"
kotlin = "2.3.0"
ksp = "2.3.5"
ktlint = "1.8.0"
leakcanary = "2.14"
lifecycle = "2.9.4" # Newer versions require minSdk >= 23