chore: upgrade dependencies to latest stable & fix build deprecations#69
Merged
Conversation
Upgrades (verified building on Android, Desktop, JS, WASM, and iOS): - Gradle 9.4.1 -> 9.5.1 - Kotlin 2.3.20 -> 2.4.0 - Compose BOM 2026.04.00 -> 2026.05.01 - kotlinx-collections-immutable 0.4.0 -> 0.5.0 - Spotless 8.4.0 -> 8.6.0 - compose ktlint rules 0.3.11 -> 0.6.1 Build-file deprecation fixes: - js(IR) -> js (IR is the only JS backend) in both modules - removed deprecated kotlin.mpp.androidSourceSetLayoutVersion property - webpack DevServer 'static' property -> static() function (sample) - reordered HomeAppBar params so the required event lambda is not trailing (new compose ktlint rule) Preview tooling: - add compose.preview (org.jetbrains.compose.ui:ui-tooling-preview) to commonMain so androidx.compose.ui.tooling.preview.Preview resolves on all targets including wasmJs/js Held back deliberately: - Compose Multiplatform stays 1.10.3: 1.11.1 does not publish iOS/native variants for its core artifacts and breaks iOS resolution. - AGP stays 8.13.1: AGP 9 has no clean KMP-application plugin for the sample, so the only remaining deprecations are the 2 AGP-internal multi-string warnings (unfixable without AGP 9). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The Kotlin 2.4.0 upgrade changed the JS/WASM npm dependency set, so the committed kotlin-js-store/yarn.lock no longer matched. CI's kotlinStoreYarnLock (verify-only) failed. Regenerated via kotlinUpgradeYarnLock. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades libraries/tools to latest stable and clears build-file deprecations. Verified compiling on all targets — Android, Desktop (JVM), JS, WASM, and iOS (x64/arm64/sim) — and
spotlessCheckpasses.Upgrades
(activity-compose, vanniktech, dokka, report-gen, test-runner, ext:junit, truth, junit4 were already latest.)
Deprecation fixes (build files)
js(IR)→jsin both modules (IR is the only JS backend now).kotlin.mpp.androidSourceSetLayoutVersionproperty.DevServer.staticproperty →static()function (sample).HomeAppBarparams so the required event lambda isn't trailing (new compose ktlint rule).Preview tooling
compose.preview(org.jetbrains.compose.ui:ui-tooling-preview) tocommonMainsoandroidx.compose.ui.tooling.preview.Previewresolves across all targets (incl. wasmJs/js) at Compose 1.10.3.Held back deliberately
runtime/foundation/ui) don't publish iOS/native variants and break iOS resolution. (This also avoids thecompose.*DSL deprecations, which only appear in 1.11.)multi-string notationdeprecations (unfixable without AGP 9).