From ebb365190d891b5670fd976541cbde3a3563bd38 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 17 May 2025 22:14:35 +0200 Subject: [PATCH] Update Kotlin (#5046) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.devtools.ksp](https://goo.gle/ksp) ([source](https://redirect.github.com/google/ksp)) | `2.1.20-1.0.32` -> `2.1.21-2.0.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/2.1.21-2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/2.1.21-2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/2.1.20-1.0.32/2.1.21-2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin/2.1.20-1.0.32/2.1.21-2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | org.jetbrains.kotlin.plugin.parcelize | `2.1.20` -> `2.1.21` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin/2.1.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin/2.1.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin/2.1.20/2.1.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlin.plugin.parcelize:org.jetbrains.kotlin.plugin.parcelize.gradle.plugin/2.1.20/2.1.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | org.jetbrains.kotlin.android | `2.1.20` -> `2.1.21` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin/2.1.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin/2.1.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin/2.1.20/2.1.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.jetbrains.kotlin.android:org.jetbrains.kotlin.android.gradle.plugin/2.1.20/2.1.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
google/ksp (com.google.devtools.ksp) ### [`v2.1.21-2.0.1`](https://redirect.github.com/google/ksp/compare/2.1.20-2.0.1...2.1.21-2.0.1) [Compare Source](https://redirect.github.com/google/ksp/compare/2.1.20-2.0.1...2.1.21-2.0.1) ### [`v2.1.20-2.0.1`](https://redirect.github.com/google/ksp/releases/tag/2.1.20-2.0.1) [Compare Source](https://redirect.github.com/google/ksp/compare/2.1.20-2.0.0...2.1.20-2.0.1) #### What's Changed - \[KSP2] Annotation values shouldn't be marked as default (synthetic origin) broken after PR [#​2424](https://redirect.github.com/google/ksp/issues/2424) in [https://github.com/google/ksp/pull/2425](https://redirect.github.com/google/ksp/pull/2425) - \[KSP2] Wrong internal method name with custom moduleName compiler option in[https://github.com/google/ksp/pull/2415](https://redirect.github.com/google/ksp/pull/2415)5 - \[KSP2] getJvmName for internal method did not sanitize java identifiers in[https://github.com/google/ksp/pull/2413](https://redirect.github.com/google/ksp/pull/2413)3 - \[KSP2] Annotation and argument's origin is wrong in[https://github.com/google/ksp/pull/2412](https://redirect.github.com/google/ksp/pull/2412)2 - \[KSP2] functionKind is MEMBER for static method in interface in Java in[https://github.com/google/ksp/pull/2410](https://redirect.github.com/google/ksp/pull/2410)0 - KSP2 Generated .class files are not added to the classpath in [https://github.com/google/ksp/pull/2365](https://redirect.github.com/google/ksp/pull/2365) - When I write specific code, KSP throws an Unexpected class for KtSymbol error. in [https://github.com/google/ksp/pull/2303](https://redirect.github.com/google/ksp/pull/2303) #### Contributors Thanks to everyone who reported bugs and participated in discussions! **Full Changelog**: https://github.com/google/ksp/compare/2.1.20-2.0.0...2.1.20-2.0.1 ### [`v2.1.20-2.0.0`](https://redirect.github.com/google/ksp/releases/tag/2.1.20-2.0.0) [Compare Source](https://redirect.github.com/google/ksp/compare/2.1.20-1.0.32...2.1.20-2.0.0) ##### What's Changed - Bumped version to 2.0.0 and enabled KSP2 by default! - No-op blockOtherCompilerPlugins [#​2397](https://redirect.github.com/google/ksp/issues/2397) - A couple of fixes to compilation avoidance [#​2401](https://redirect.github.com/google/ksp/issues/2401) - KSTypeReferenceResolvedImpl.toString(): render unexpanded [#​2393](https://redirect.github.com/google/ksp/issues/2393) **Full Changelog**: https://github.com/google/ksp/compare/2.1.20-1.0.32...2.1.20-2.0.0
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Conny Duck --- gradle.properties | 3 + gradle/libs.versions.toml | 4 +- gradle/verification-metadata.xml | 334 ++++++++++++++++++++++++++++++- 3 files changed, 333 insertions(+), 8 deletions(-) diff --git a/gradle.properties b/gradle.properties index 655b43027..f00c80274 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,3 +9,6 @@ org.gradle.configuration-cache=true android.defaults.buildfeatures.resvalues=false android.defaults.buildfeatures.shaders=false android.useAndroidX=true + +# Work around build error with Moshi 1.15.2 and KSP 2.1.21-2.0.1 +ksp.useKSP2=false diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f9e4ebd6d..8a265aa70 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -32,7 +32,7 @@ filemoji-compat = "3.2.7" glide = "4.16.0" glide-animation-plugin = "3.0.4" hilt = "2.56.2" -kotlin = "2.1.20" +kotlin = "2.1.21" image-cropper = "4.3.2" material = "1.12.0" material-drawer = "9.0.2" @@ -52,7 +52,7 @@ xmlwriter = "1.0.4" [plugins] android-application = { id = "com.android.application", version.ref = "agp" } -google-ksp = "com.google.devtools.ksp:2.1.20-1.0.32" +google-ksp = "com.google.devtools.ksp:2.1.21-2.0.1" hilt-android = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" } diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index 500ae4e91..986835ba4 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -6387,12 +6387,12 @@ - - - - - - + + + + + + @@ -13802,6 +13802,11 @@ + + + + + @@ -13930,6 +13935,22 @@ + + + + + + + + + + + + + + + + @@ -14084,6 +14105,14 @@ + + + + + + + + @@ -14212,6 +14241,14 @@ + + + + + + + + @@ -14340,6 +14377,14 @@ + + + + + + + + @@ -14468,6 +14513,14 @@ + + + + + + + + @@ -16945,6 +16998,14 @@ + + + + + + + + @@ -17004,6 +17065,14 @@ + + + + + + + + @@ -17138,6 +17207,14 @@ + + + + + + + + @@ -17194,6 +17271,14 @@ + + + + + + + + @@ -17250,6 +17335,14 @@ + + + + + + + + @@ -17314,6 +17407,14 @@ + + + + + + + + @@ -17370,6 +17471,14 @@ + + + + + + + + @@ -17426,6 +17535,14 @@ + + + + + + + + @@ -17490,6 +17607,14 @@ + + + + + + + + @@ -17546,6 +17671,14 @@ + + + + + + + + @@ -17602,6 +17735,14 @@ + + + + + + + + @@ -17661,6 +17802,17 @@ + + + + + + + + + + + @@ -17717,6 +17869,14 @@ + + + + + + + + @@ -17773,6 +17933,14 @@ + + + + + + + + @@ -17829,6 +17997,14 @@ + + + + + + + + @@ -17885,6 +18061,14 @@ + + + + + + + + @@ -17941,6 +18125,14 @@ + + + + + + + + @@ -17997,6 +18189,14 @@ + + + + + + + + @@ -18083,6 +18283,14 @@ + + + + + + + + @@ -18139,6 +18347,14 @@ + + + + + + + + @@ -18198,6 +18414,14 @@ + + + + + + + + @@ -18310,6 +18534,14 @@ + + + + + + + + @@ -18366,6 +18598,14 @@ + + + + + + + + @@ -18422,6 +18662,14 @@ + + + + + + + + @@ -18478,6 +18726,14 @@ + + + + + + + + @@ -18534,6 +18790,14 @@ + + + + + + + + @@ -18704,6 +18968,17 @@ + + + + + + + + + + + @@ -18796,6 +19071,11 @@ + + + + + @@ -19020,6 +19300,14 @@ + + + + + + + + @@ -19076,6 +19364,14 @@ + + + + + + + + @@ -19132,6 +19428,14 @@ + + + + + + + + @@ -19156,6 +19460,14 @@ + + + + + + + + @@ -19191,6 +19503,11 @@ + + + + + @@ -19226,6 +19543,11 @@ + + + + +