Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
plugins {
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.10" 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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 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("org.jetbrains.kotlin.plugin.serialization") version "2.3.21" apply false
id("org.jetbrains.kotlin.plugin.serialization") version "2.4.10" apply false
id("io.sentry.android.gradle") version "6.1.0" apply false
// Chaquopy — applied ONLY by :rns-backend-py (module-level, never at :app level)
// so the kotlinBackend flavor's classpath is never polluted with the Python
Expand Down
Loading