Repository navigation
Bump Kotlin from 2.4.0 to 2.4.21 - #246
Merged
Merged
Conversation
KGP 2.4.21 no longer ships org.jetbrains.kotlin.konan.properties.hasProperty, which configureEmulatorWtf imported to query local.properties; it now uses Properties.containsKey. kotlin-js-store/yarn.lock is regenerated for the bundled webpack 5.108.1.
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.
Moves Enro to Kotlin 2.4.21, the current stable. The ukpt template is moving to 2.4.21, and Compose Multiplatform 1.13 requires Kotlin 2.4.20 or later for the js and wasm targets. ukpt includes Enro as a composite build, and the included build compiles with Enro's own Kotlin pin, so Enro has to move first. The matching udytils change is isaac-udy/udytils#46.
Files changed
libs.versions.toml:kotlin2.4.0 → 2.4.21. This drives the Kotlin, Compose compiler, parcelize and serialization plugins, pluskotlin-stdlibandkotlin-reflect.kspstays at 2.3.9; it builds without changes.buildSrc/.../Project.configureEmulatorWtf.kt: importedorg.jetbrains.kotlin.konan.properties.hasProperty, an internal KGP helper that 2.4.21 no longer ships, sobuildSrcfailed with "Unresolved reference 'hasProperty'". It now callsProperties.containsKey.kotlin-js-store/yarn.lock: regenerated withkotlinUpgradeYarnLockfor the bundled webpack 5.108.1.CHANGELOG.md: Unreleased → Dependencies entry.Checked against the 2.4.20 wasm/JS changes: Enro has no
@JsFun,wasmExports,import.metaor Terser configuration.Verification (local, macOS)
./gradlew continuousIntegration -x testWithEmulatorWtf --continue: passed. This covers lint, Android host tests, desktop, JS (browser and Node) and wasmJs browser tests../gradlew continuousIntegrationMacOs: passed (iOS simulator tests).Not run locally:
testWithEmulatorWtf, the instrumented Android tests on emulator.wtf, which needs the CI token. CI runs them.