Migrate to Kotlin 2.3.20#8952
Open
landomen wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task/Issue URL: https://app.asana.com/1/137249556945/project/1214119362406643/task/1214799610249614?focus=true
Tech Design URL (if applicable): N/A
Description
Steps to test this PR
Smoke check
UI changes
No UI changes
Note
Medium Risk
Wide toolchain bump (Kotlin/KSP/compiler settings) affects every module and both DI build variants; fixes are compile-time only but full CI and smoke testing is important.
Overview
Bumps Kotlin to
2.3.20and KSP to2.3.7inversions.properties, and sets Metro dual-buildlanguageVersion/apiVersionto Kotlin 2.3 in the rootbuild.gradle.Adds a
:app-onlykaptdependency onkotlin-metadata-jvm:2.3.20so Dagger’s annotation processor can read Kotlin 2.3@Metadatawithout upgrading Dagger itself.Fixes Kotlin 2.3 compile errors from stricter generic inference: explicit type arguments on
combine<Any, Unit>inInputScreenViewModel,arrayOf<MatchingAttribute>inJsonRulesMapperTest, andarrayOf<Any>inWideEventsMigration1To2Test. No intended runtime behavior changes.Reviewed by Cursor Bugbot for commit fb63c1c. Bugbot is set up for automated code reviews on this repo. Configure here.