Skip to content

Update dependency org.jetbrains.kotlin to v2.4.0 and remove -Xcontext-parameters flag#226

Merged
nakamura-to merged 2 commits into
mainfrom
dependencies/kotlin
Jun 4, 2026
Merged

Update dependency org.jetbrains.kotlin to v2.4.0 and remove -Xcontext-parameters flag#226
nakamura-to merged 2 commits into
mainfrom
dependencies/kotlin

Conversation

@nakamura-to

@nakamura-to nakamura-to commented Jun 4, 2026

Copy link
Copy Markdown
Member

Summary

Updates Kotlin from 2.3.21 to 2.4.0. Since context parameters are enabled by default starting with Kotlin 2.4.0, the -Xcontext-parameters compiler flag is no longer required, so it has been removed from all modules.

Changes

  • Bump kotlin: 2.3.212.4.0 in gradle/libs.versions.toml
  • Remove -Xcontext-parameters from all module build scripts (kova-core, kova-ktor, example-core, example-ktor, example-exposed, example-hibernate-validator, example-konform)
  • Update README.md and CLAUDE.md to reflect that the flag is no longer needed (Kotlin requirement bumped to 2.4.0+)

Verification

  • ./gradlew build --rerun-tasks — all 38 tasks pass with the flag removed

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Context parameters are enabled by default starting with Kotlin 2.4.0, so
the -Xcontext-parameters compiler flag is no longer required. Remove it
from all modules and update the documentation accordingly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@nakamura-to nakamura-to changed the title Update dependency org.jetbrains.kotlin to v2.4.0 Update dependency org.jetbrains.kotlin to v2.4.0 and remove -Xcontext-parameters flag Jun 4, 2026
@nakamura-to nakamura-to merged commit 7164826 into main Jun 4, 2026
3 checks passed
@nakamura-to nakamura-to deleted the dependencies/kotlin branch June 4, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant