Chore(deps): Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.23 to 2.3.0#765
Conversation
Bumps [org.jetbrains.kotlin:kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 1.9.23 to 2.3.0. - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](JetBrains/kotlin@v1.9.23...v2.3.0) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Greptile SummaryThis PR bumps the Kotlin Gradle Plugin from 1.9.23 to 2.3.0, which is a major version upgrade spanning multiple major releases (1.9 → 2.0 → 2.1 → 2.2 → 2.3). Critical Issues Found❌ Incomplete Version UpdateThe upgrade is incomplete and will cause build failures. Only the
❌ Duplicate Dependency DeclarationThe Breaking Changes & Compatibility ConcernsKotlin 2.0+ Breaking Changes
Plugin Compatibility
RecommendationThis PR requires additional updates across multiple build files to ensure consistency. A partial upgrade will likely fail CI/CD builds and cause developer environment issues. All Kotlin version references must be updated atomically. |
| apply(from = "versions.gradle") | ||
|
|
||
| val kotlinVersion = "1.9.23" // Define Kotlin version | ||
| val kotlinVersion = "2.3.0" // Define Kotlin version |
There was a problem hiding this comment.
This upgrade to Kotlin 2.3.0 is incomplete and will cause build failures. The settings.gradle.kts file still references Kotlin 1.9.23 in multiple plugin declarations:
- Line 11:
id("org.jetbrains.kotlin.android") version "1.9.23" - Line 12:
id("org.jetbrains.kotlin.plugin.compose") version "1.9.23"
This version mismatch between the buildscript classpath (2.3.0) and plugin management (1.9.23) will cause inconsistent behavior and likely build failures.
| val kotlinVersion = "2.3.0" // Define Kotlin version | |
| val kotlinVersion = "2.3.0" // Define Kotlin version - MUST also update settings.gradle.kts |
Prompt To Fix With AI
This is a comment left during a code review.
Path: build.gradle.kts
Line: 5:5
Comment:
This upgrade to Kotlin 2.3.0 is incomplete and will cause build failures. The `settings.gradle.kts` file still references Kotlin 1.9.23 in multiple plugin declarations:
- Line 11: `id("org.jetbrains.kotlin.android") version "1.9.23"`
- Line 12: `id("org.jetbrains.kotlin.plugin.compose") version "1.9.23"`
This version mismatch between the buildscript classpath (2.3.0) and plugin management (1.9.23) will cause inconsistent behavior and likely build failures.
```suggestion
val kotlinVersion = "2.3.0" // Define Kotlin version - MUST also update settings.gradle.kts
```
How can I resolve this? If you propose a fix, please make it concise.
Additional Comments (1)
Prompt To Fix With AIThis is a comment left during a code review.
Path: build.gradle.kts
Line: 16:22
Comment:
The `kotlin-gradle-plugin` is declared twice in the dependencies block (lines 17 and 22), which is redundant and could potentially cause conflicts or unexpected behavior during the build process.
```suggestion
classpath("com.android.tools.build:gradle:8.6.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
classpath("org.jetbrains.kotlinx:kover:0.5.1")
classpath("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.21.0")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.9.20")
classpath("com.google.gms:google-services:$googlePlayServicesVersion")
classpath("com.google.dagger:hilt-android-gradle-plugin:$hiltVersion")
```
How can I resolve this? If you propose a fix, please make it concise. |
Bumps org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.23 to 2.3.0.
Release notes
Sourced from org.jetbrains.kotlin:kotlin-gradle-plugin's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin:kotlin-gradle-plugin's changelog.
... (truncated)
Commits
f95cb2fAdd ChangeLog for 2.3.0-RC39d65a2eKT-82901: Fix issue with converting Long.MIN_VALUE to Duration35a9a82FE: Postpone DiscriminateSuspendInOverloadResolutione0b7eeaFE: Add tests for KT-82869e66298cAdd ChangeLog for 2.3.0-RC2e490802[K/JS] Introduce a compiler argument to enable export of suspend functions585094bFIR2IR: Avoid generation of incorrect suspend adapter for custom implementationc69adc7FIR2IR: Rename and clarify contracts for suspicious utility functionb4bb8bfFIR2IR: Pass original expected type to applySuspendConversionIfNeeded4718830FIR2IR: Add tests for KT-82590You can trigger a rebase of this PR 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)