Skip to content

build: bump Kotlin to 2.3.21 (Metro prereq)#2959

Open
StylianosGakis wants to merge 1 commit into
feat/puppy-guide-kmpfrom
eng/metro-nav3-pr0-kotlin-bump
Open

build: bump Kotlin to 2.3.21 (Metro prereq)#2959
StylianosGakis wants to merge 1 commit into
feat/puppy-guide-kmpfrom
eng/metro-nav3-pr0-kotlin-bump

Conversation

@StylianosGakis
Copy link
Copy Markdown
Member

Summary

PR0 of the Koin→Metro / Nav2→Nav3 migration stack. A pure version-catalog bump, no application code changes.

  • Bumps Kotlin 2.3.20 → 2.3.21. Metro needs Kotlin 2.3.20+ for cross-module @Contributes* aggregation on Apple/Native targets; 2.3.21 is the latest stable 2.3.x.
  • Realigns the Kotlin-coupled plugins that do not track version.ref = "kotlin":
    • ksp 2.3.2 → 2.3.9
    • kmpNativeCoroutines 1.0.2 → 1.0.3 (ships a Kotlin FIR compiler plugin pinned to the exact Kotlin version)
  • Compose-compiler and serialization plugins track version.ref = "kotlin" and update automatically.

Stacked on top of feat/puppy-guide-kmp; PR1 (Metro) and PR2 (Nav3) will build on this.

Test plan

  • ./gradlew assembleDebug testDebugUnitTest — green (238/238)
  • ./gradlew ktlintCheck — green
  • ./gradlew :umbrella:assembleHedvigSharedDebugXCFramework — green (iOS umbrella XCFramework builds on 2.3.21)

Raise the Kotlin toolchain from 2.3.20 to 2.3.21 so Metro's
cross-module @Contributes* aggregation works on Apple/Native targets.
Realign the Kotlin-coupled plugins that do not track version.ref="kotlin":
- ksp 2.3.2 -> 2.3.9
- kmpNativeCoroutines 1.0.2 -> 1.0.3 (ships a Kotlin FIR compiler plugin)

No behavior change. Android build/tests green; iOS umbrella XCFramework
builds green on 2.3.21.
@StylianosGakis StylianosGakis requested a review from a team as a code owner May 31, 2026 18:22
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.

1 participant