Skip to content

chore(cli): bump default Kotlin version to 2.4.0#8494

Merged
OS-ruimoreiramendes merged 3 commits into
nextfrom
chore/RMET-4708/kotlin-2.3.21
Jun 3, 2026
Merged

chore(cli): bump default Kotlin version to 2.4.0#8494
OS-ruimoreiramendes merged 3 commits into
nextfrom
chore/RMET-4708/kotlin-2.3.21

Conversation

@OS-ruimoreiramendes
Copy link
Copy Markdown
Contributor

@OS-ruimoreiramendes OS-ruimoreiramendes commented Jun 3, 2026

Description

Bump the default Kotlin version used by the Capacitor CLI from 2.2.20 to 2.4.0

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation
  • Other (CI, chores, etc.)

Rationale / Problems Fixed

Keep the CLI defaults aligned with the latest stable Kotlin release (2.4.0).

Refs: RMET-4708

Tests or Reproductions

  • npm run build in cli/: TypeScript compiles
  • Ran npx cap migrate against a sample app: variables.gradle is updated with kotlin_version = '2.4.0'
  • Ran npx cap update android on an app that uses Cordova plugins requiring Kotlin: generated capacitor-cordova-android-plugins/build.gradle uses Kotlin 2.4.0
  • Android build of the resulting project: BUILD SUCCESSFUL

Platforms Affected

  • Android
  • iOS
  • Web

@OS-ruimoreiramendes OS-ruimoreiramendes marked this pull request as ready for review June 3, 2026 09:49
@jcesarmobile
Copy link
Copy Markdown
Member

looks like 2.4.0 was just released 45 minute ago, so we should probably use that one

@OS-ruimoreiramendes
Copy link
Copy Markdown
Contributor Author

OS-ruimoreiramendes commented Jun 3, 2026

looks like 2.4.0 was just released 45 minute ago, so we should probably use that one

Great timing! 😄
Updated to 2.4.0

@jcesarmobile jcesarmobile changed the title chore(cli): bump default Kotlin version to 2.3.21 chore(cli): bump default Kotlin version to 2.4.0 Jun 3, 2026
@OS-ruimoreiramendes OS-ruimoreiramendes merged commit 16ca49d into next Jun 3, 2026
5 of 6 checks passed
@OS-ruimoreiramendes OS-ruimoreiramendes deleted the chore/RMET-4708/kotlin-2.3.21 branch June 3, 2026 11:40
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.

3 participants