Skip to content

build: update kotlin and ksp - #184

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/kotlin-and-ksp
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/kotlin-and-ksp

Conversation

@renovate

@renovate renovate Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
com.google.devtools.ksp (source) 2.3.12 → 2.3.13 age confidence
com.google.devtools.ksp:symbol-processing-gradle-plugin (source) 2.3.12 → 2.3.13 age confidence
org.jetbrains.kotlin.plugin.serialization 2.4.20 → 2.4.21 age confidence
org.jetbrains.kotlin.plugin.compose 2.4.20 → 2.4.21 age confidence
org.jetbrains.kotlin.jvm 2.4.20 → 2.4.21 age confidence
org.jetbrains.kotlin:kotlin-gradle-plugin (source) 2.4.20 → 2.4.21 age confidence
org.jetbrains.kotlin:kotlin-test-junit (source) 2.4.20 → 2.4.21 age confidence
org.jetbrains.kotlin:kotlin-test-junit5 (source) 2.4.20 → 2.4.21 age confidence

A new Kotlin minor version may also need a newer Hilt. See docs/architecture.md#build-settings.


Release Notes

google/ksp (com.google.devtools.ksp)

v2.3.13

Compare Source

Defect in release

This release has a regression described in issue 3286 which may cause issues for concurrent executions of KSP. We are working on a fix and will release a new version soon.

What's Changed
  • Add KSContextParameter and KSFunctionDeclaration.contextParameters to the API (#​3216)
  • Improve diagnostics by returning last round dismissible errors when KSP fails (#​3196)
  • Add opt-in processor classloader caching (ksp.classloader.cache.processors=true) to speed up multi-module builds (#​3210)
  • Avoid clearing binary and library caches between KSP rounds (#​3235)
  • Optimize classpath scanning, dependency indexing, and package directory lookups during incremental compilation (#​3254)
  • Backport IntelliJ Platform CoreJarHandler to prevent non-deterministic missing jar entries (#​3240)
  • Fix getting annotation default values from KLibs in Kotlin Multiplatform (#​2356)
  • Fix resolving aliased annotations in PsiResolutionStrategy (#​2997)
  • Fix Gradle project isolation detection when configured via command-line flags (#​3188)
  • Fix duplicate declaration generation in intermediate Kotlin Multiplatform metadata compilations (#​3229)
Contributors

Full Changelog: google/ksp@2.3.12...2.4.0

JetBrains/kotlin (org.jetbrains.kotlin:kotlin-gradle-plugin)

v2.4.21

Backend. Wasm
  • KT-89267 K/Wasm: calling a (T) -> R lambda with an argument that isn't a T traps instead of throwing ClassCastException
JVM. Reflection
  • KT-89280 NoSuchElementException in argumentsMakeSenseOnlyForMutableContainer for Java non-static inner class of generic outer class
  • KT-80710 Reflection: change KCallable representation to avoid dependency on K1
JavaScript
  • KT-89449 Kotlin/JS: Member names no longer minified in production
  • KT-89363 KJS. Regular class with companion can't extend external class
Tools. Compiler plugins. Serialization
  • KT-89275 Kotlin/Wasm: Invalid Wasm is emitted for a @Serializable generic class with a class upper bound
Tools. Gradle. Native
  • KT-89285 SwiftPM import results in flooded log
  • KT-86251 K/N: Flaky linkDebugTestLinuxX64 failure with "truncated or malformed archive" on libstdlib-cache.a
Tools. Scripts
  • KT-89247 Kotlin Script: NoClassDefFoundError on 2nd execution with transitive dependency from imported script
  • KT-89220 JSR-223: generic Java bindings break all subsequent eval() calls
  • KT-88458 Audit closeable resource usage
  • KT-88453 VirtualFileScriptSource.text leaks an unclosed file stream — script source file handle held until GC, blocks file deletion on Windows

Configuration

📅 Schedule: (in timezone Asia/Dhaka)

  • Branch creation
    • Only on Friday (* * * * 5)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Summary by CodeRabbit

  • Chores
    • Updated Kotlin and KSP to newer patch releases. These updates affect the project’s build tooling; no user-facing changes are included in this update.

@renovate
renovate Bot force-pushed the renovate/kotlin-and-ksp branch 2 times, most recently from 0e0155c to 8729551 Compare November 20, 2026 02:56
@j0ker70

j0ker70 commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Held, as the maintainer decided on November 20, 2026. KSP 2.3.13 has a known regression, google/ksp#3286: in parallel Gradle builds of multi-module Android apps that use Hilt through KSP, which is Dewfall's setup, generated Hilt code can go missing at random. KSP 2.3.14 fixes it, and it passes the 14-day rule on November 27. Renovate then moves this pull request to it, and it goes through the usual checks.

@renovate
renovate Bot force-pushed the renovate/kotlin-and-ksp branch 15 times, most recently from c69a553 to 33eac58 Compare November 21, 2026 10:38
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Gradle version updates

Layer / File(s) Summary
Update Kotlin and KSP versions
gradle/libs.versions.toml
The version catalog updates the Kotlin and KSP versions.

Suggested reviewers: j0ker70

Change: Other

Merge Risk: Moderate · up to 33eac

This updates Kotlin and KSP, but KSP 2.3.13 has a reported regression that can randomly drop generated Hilt code in parallel multi-module builds, causing intermittent build failures. The maintainer has held the PR until KSP 2.3.14 is eligible, so wait for that update before merging.

Architecture risk: Low · up to 33eac

The change affects 1 system.

Changed systems: gradle

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — gradle (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in gradle/libs.versions.toml: The Kotlin version changes from 2.4.20 to 2.4.21.
  • observed — Modified behavior in gradle/libs.versions.toml: The KSP version changes from 2.3.12 to 2.3.13.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cadce1a4-547d-4cc6-92e1-cd4f291e48e7
Commits

Reviewing files that changed from the base of the PR and between e93a35b and 33eac58.

Files selected for processing: 1

  • gradle/libs.versions.toml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@renovate
renovate Bot force-pushed the renovate/kotlin-and-ksp branch 5 times, most recently from 4e46c5a to d93468c Compare November 21, 2026 20:13
@renovate
renovate Bot force-pushed the renovate/kotlin-and-ksp branch from d93468c to d86b521 Compare November 21, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant