chore(deps): bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.25 to 2.2.21#480
Conversation
Bumps [org.jetbrains.kotlin:kotlin-stdlib](https://github.com/JetBrains/kotlin) from 1.9.25 to 2.2.21. - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v1.9.25...v2.2.21) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-version: 2.2.21 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
|
Upgrades the project to use Kotlin 2.2, which includes migrating from `kapt` to KSP (Kotlin Symbol Processing) for annotation processors like Toothpick and Glide. This migration addresses several underlying build and dependency injection issues: - **Kotlin & Plugin Versions:** - Upgrades the core Kotlin language version to `2.2.21`. - Updates the KSP plugin to version `2.2.21-2.0.4` to match the Kotlin version. - Upgrades related dependencies like Coroutines, MockK, and the Android Gradle Plugin to ensure compatibility. - **Build Configuration:** - Cleans up legacy build files and duplicate class definitions that were causing KSP to fail during code generation. Specifically, `MovieMediaContainer.kt` and `EpisodeMediaContainer.kt` were moved from the `java` to the `kotlin` source directory. - **Code Modernization & Bug Fixes:** - Replaces deprecated `toLowerCase()` calls with the modern `lowercase()` equivalent. - Updates Leanback presenter classes (`CardPresenter`, `MoviePresenter`, etc.) to conform to the new, nullable `onBindViewHolder` method signature required by the updated library versions. - Fixes a critical dependency injection issue in unit tests by removing the premature `Toothpick.inject` call from the `BaseInjector`'s `init` block. This ensures that test scopes and mock bindings are correctly applied before injection occurs. - Updates all relevant unit tests to explicitly inject manually created container objects using the test scope, following the established pattern in `InjectingTest`. This comprehensive upgrade modernizes the build system, improves build reliability by resolving KSP code generation failures, and fixes several bugs and test failures that arose from the version changes. Closes #480
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |



Bumps org.jetbrains.kotlin:kotlin-stdlib from 1.9.25 to 2.2.21.
Release notes
Sourced from org.jetbrains.kotlin:kotlin-stdlib's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin:kotlin-stdlib's changelog.
... (truncated)
Commits
2146684Add ChangeLog for 2.2.21-RC2d8cf44a[KGP][IT] Require Xcode 26 for shouldDownloadLightNativeBundleWithMavenbd2b426[Gradle] Only register commonizeCInterop if there are native targetsf66516e[Gradle] Added tests for accessing target's publishable property7aad8e5[Gradle] Workaround for not completable Future with cross compilationd061774[Wasm, JS] Add statics field to DevServer data constructor for data class0609896Add ChangeLog for 2.2.21-RC4f2bc0c[Gradle] Dont add parcelize plugin to JVM compilations948802f[K/N][tests] Fixed lldb tests to work with Xcode 26a32c8f3[stdlib] Addos.archas an input property to prevent build cache reuse acro...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)