deps(deps): bump the kotlin group across 1 directory with 2 updates - #1002
deps(deps): bump the kotlin group across 1 directory with 2 updates#1002dependabot[bot] wants to merge 1 commit into
Conversation
Greptile SummaryThis is a dependabot-generated bump of two Kotlin compiler plugins —
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[build.gradle.kts] --> B[org.jetbrains.kotlin.plugin.compose]
A --> C[org.jetbrains.kotlin.plugin.serialization]
A --> D[com.google.devtools.ksp]
A --> E[com.android.application / library]
B -- "2.3.21 → 2.4.10 ✅" --> B2[Compose Compiler Plugin]
C -- "2.3.21 → 2.4.10 ✅" --> C2[Serialization Compiler Plugin]
D -- "2.3.6 ⚠️ unchanged" --> D2[KSP Annotation Processor]
E -- "9.1.0 unchanged" --> E2[Android Gradle Plugin]
B2 & C2 & D2 --> F[Kotlin Compiler 2.4.x]
F -->|KSP mismatch flagged previously| G[Build]
Reviews (6): Last reviewed commit: "deps(deps): bump the kotlin group across..." | Re-trigger Greptile |
| id("org.jetbrains.kotlin.plugin.compose") version "2.3.21" apply false | ||
| id("org.jetbrains.kotlin.plugin.compose") version "2.4.0" apply false | ||
| id("com.google.dagger.hilt.android") version "2.59.2" apply false | ||
| id("com.google.devtools.ksp") version "2.3.6" apply false |
There was a problem hiding this comment.
KSP version incompatible with Kotlin 2.4.0
com.google.devtools.ksp is pinned at 2.3.6, which targets an earlier Kotlin release. The official Kotlin documentation pairs Kotlin 2.4.0 with KSP 2.3.9. Running KSP 2.3.6 against the 2.4.0 compiler plugins will cause a version-mismatch error at build time (KSP validates the Kotlin compiler version it was built against). This PR should also bump KSP to 2.3.9.
Prompt To Fix With AI
This is a comment left during a code review.
Path: build.gradle.kts
Line: 7
Comment:
**KSP version incompatible with Kotlin 2.4.0**
`com.google.devtools.ksp` is pinned at `2.3.6`, which targets an earlier Kotlin release. The official Kotlin documentation pairs Kotlin 2.4.0 with KSP `2.3.9`. Running KSP 2.3.6 against the 2.4.0 compiler plugins will cause a version-mismatch error at build time (KSP validates the Kotlin compiler version it was built against). This PR should also bump KSP to `2.3.9`.
How can I resolve this? If you propose a fix, please make it concise.| id("com.android.application") version "9.1.0" apply false | ||
| id("com.android.library") version "9.1.0" apply false | ||
| id("org.jetbrains.kotlin.plugin.compose") version "2.3.21" apply false | ||
| id("org.jetbrains.kotlin.plugin.compose") version "2.4.0" apply false |
There was a problem hiding this comment.
Compose compiler stability default changed in 2.4.0
The Kotlin 2.4.0 changelog (commit ef14611) changes the default stability of non-final classes from Stable to Unknown. Any non-final class used as a @Composable parameter that was previously treated as stable will now be treated as unstable, potentially triggering additional recompositions at runtime. Review Composable call sites that accept non-final types (e.g., interfaces, open classes) and add explicit @Stable / @Immutable annotations or ensure classes are data class / final where stability is required.
Prompt To Fix With AI
This is a comment left during a code review.
Path: build.gradle.kts
Line: 5
Comment:
**Compose compiler stability default changed in 2.4.0**
The Kotlin 2.4.0 changelog (commit `ef14611`) changes the default stability of non-final classes from `Stable` to `Unknown`. Any non-final class used as a `@Composable` parameter that was previously treated as stable will now be treated as unstable, potentially triggering additional recompositions at runtime. Review Composable call sites that accept non-final types (e.g., interfaces, open classes) and add explicit `@Stable` / `@Immutable` annotations or ensure classes are `data class` / `final` where stability is required.
How can I resolve this? If you propose a fix, please make it concise.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
08dc9cb to
6b913c1
Compare
81ebf74 to
8e15a7c
Compare
8e15a7c to
2dd4ee2
Compare
Bumps the kotlin group with 2 updates in the / directory: [org.jetbrains.kotlin.plugin.compose](https://github.com/JetBrains/kotlin) and [org.jetbrains.kotlin.plugin.serialization](https://github.com/JetBrains/kotlin). Updates `org.jetbrains.kotlin.plugin.compose` from 2.3.21 to 2.4.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v2.3.21...v2.4.10) Updates `org.jetbrains.kotlin.plugin.serialization` from 2.3.21 to 2.4.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v2.3.21...v2.4.10) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin.plugin.compose dependency-version: 2.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kotlin - dependency-name: org.jetbrains.kotlin.plugin.serialization dependency-version: 2.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kotlin ... Signed-off-by: dependabot[bot] <support@github.com>
2dd4ee2 to
4c0e4fd
Compare
Bumps the kotlin group with 2 updates in the / directory: org.jetbrains.kotlin.plugin.compose and org.jetbrains.kotlin.plugin.serialization.
Updates
org.jetbrains.kotlin.plugin.composefrom 2.3.21 to 2.4.10Release notes
Sourced from org.jetbrains.kotlin.plugin.compose's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin.plugin.compose's changelog.
... (truncated)
Commits
5687445Add Changelog for 2.4.10-RC2ba30392[Wasm] Support regenerate unchanged modules flag on KGP6307e73[Wasm] Implement Xwasm-IC-generate-unchanged-modules flag39d7aeeAdd ChangeLog for 2.4.10-RC2a2956be[Gradle] Update karma.conf.js to use 'require(...)' instead plain strings9b1361c[Gradle] KT-87223: Updated regression testa4c153a[Gradle] KT-87223: Fix toochain to 2.4.0 for abiValidation compat configbc04b90Add ChangeLog for 2.4.10-RCbbcb94b[CRI] explicitly disable CRI generation for non-JVM targets to avoid false-po...6c2c458Scripting: fix jvmTarget processing from script annotationsUpdates
org.jetbrains.kotlin.plugin.serializationfrom 2.3.21 to 2.4.10Release notes
Sourced from org.jetbrains.kotlin.plugin.serialization's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin.plugin.serialization's changelog.
... (truncated)
Commits
5687445Add Changelog for 2.4.10-RC2ba30392[Wasm] Support regenerate unchanged modules flag on KGP6307e73[Wasm] Implement Xwasm-IC-generate-unchanged-modules flag39d7aeeAdd ChangeLog for 2.4.10-RC2a2956be[Gradle] Update karma.conf.js to use 'require(...)' instead plain strings9b1361c[Gradle] KT-87223: Updated regression testa4c153a[Gradle] KT-87223: Fix toochain to 2.4.0 for abiValidation compat configbc04b90Add ChangeLog for 2.4.10-RCbbcb94b[CRI] explicitly disable CRI generation for non-JVM targets to avoid false-po...6c2c458Scripting: fix jvmTarget processing from script annotations