Skip to content

Conversation

@goncalossilva
Copy link
Member

@goncalossilva goncalossilva commented Dec 18, 2025

Update Kotlin from 2.2.21 to 2.3.0 (required for kotlinx-resources 0.13.0) and update kotlinx-resources from 0.11.0 to 0.13.0 to get proper Wasm support. Simplify test source sets by removing nonWasmTest indirection. Now all platforms can use the same resource-loading mechanism, removing tons of embedded test data.

Simplify test source sets structure by removing the nonWasmTest
intermediate source set. Now that kotlinx-resources 0.13.0 supports
Wasm, all platforms can use the resource-loading mechanism directly.
Copilot AI review requested due to automatic review settings December 18, 2025 03:19
@goncalossilva goncalossilva changed the title Update Kotlin to 2.3.0 and kotlinx-resources to 0.13.0 Clean up Wasm test setup Dec 18, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates Kotlin from version 2.2.21 to 2.3.0 (required for kotlinx-resources 0.13.0) and upgrades kotlinx-resources from 0.11.0 to 0.13.0 to enable Wasm support. The update allows for consolidation of test infrastructure by removing the platform-specific test source sets (nonWasmTest and wasmJsTest) and unifying resource loading across all platforms.

Key Changes:

  • Updated Kotlin version to 2.3.0 in buildSrc dependencies
  • Updated kotlinx-resources plugin and library to version 0.13.0
  • Unified test resource loading by moving implementation from platform-specific source sets to commonTest

Reviewed changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
buildSrc/build.gradle.kts Updated Kotlin Gradle plugin from 2.2.21 to 2.3.0
build.gradle.kts Updated kotlinx-resources plugin from 0.11.0 to 0.13.0 and added resources library dependency to commonTest
src/commonTest/kotlin/NormalizeTest.kt Replaced expect function declaration with concrete implementation using kotlinx-resources
src/nonWasmTest/kotlin/NormalizeTest.nonWasm.kt Removed platform-specific implementation (no longer needed)
src/wasmJsTest/kotlin/NormalizeTest.wasmJs.kt Removed Wasm-specific implementation (no longer needed)
kotlin-js-store/yarn.lock Updated JavaScript dependencies (karma, kotlin-web-helpers, mocha, webpack, enhanced-resolve)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@goncalossilva goncalossilva merged commit 72571a4 into main Dec 18, 2025
14 checks passed
@goncalossilva goncalossilva deleted the goncalossilva/kotlinx-res-wasm branch December 18, 2025 03:31
@zsmb13
Copy link
Contributor

zsmb13 commented Dec 18, 2025

That certainly makes things a lot nicer! 🙌

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