Repository navigation
chore: upgrade to Gradle 9.8.0 and Kotlin 2.4.20 - #31
Merged
Merged
Conversation
- Bump Gradle wrapper to 9.8.0 (root and plugin-build) - Bump Kotlin to 2.4.20 and Compose Multiplatform to 1.12.1 in examples - Fix Gradle 9.8 deprecations: replace delegated source set/cinterop properties, add foojay toolchain resolver, pin Compose Hot Reload 1.3.0-beta01 (drops Configuration.setVisible usage) - Replace deprecated compose.runtime accessor with direct dependency - Fix tests rejected by Kotlin 2.4 IMPOSSIBLE_IS_CHECK_ERROR
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
plugin-build)Deprecation fixes (Gradle 9.8)
val x by getting { }→ KMP source set accessors (jvmMain { })val x by creating { }on cinterops →create("x") { }foojay-resolver-conventionso JDK toolchains are no longer auto-provisioned without repositories1.3.0-beta01in examples: 1.2.0 (bundled with Compose) calls the deprecatedConfiguration.setVisiblecompose.runtimeaccessor → directorg.jetbrains.compose.runtime:runtimedependencyKotlin 2.4 test fixes
Kotlin 2.4 reports statically impossible
ischecks as errors (IMPOSSIBLE_IS_CHECK_ERROR). The affected tests inInheritanceTest/InterfaceTestnow useKClass.isInstanceto keep the runtime assertion.Test plan
./gradlew -p plugin-build :nna:test./gradlew help --warning-mode=all: no deprecation warnings:examples:calculator:compileTestKotlinJvm:examples:calculator:jvmTestsuite (CI)