Skip to content

chore: upgrade to Gradle 9.8.0 and Kotlin 2.4.20 - #31

Merged
kdroidFilter merged 1 commit into
mainfrom
chore/gradle-9.8-kotlin-2.4.20
Oct 5, 2026
Merged

kdroidFilter merged 1 commit into
mainfrom
chore/gradle-9.8-kotlin-2.4.20

Conversation

@kdroidFilter

Copy link
Copy Markdown
Collaborator

Summary

  • Gradle wrapper 9.4.1 → 9.8.0 (root and plugin-build)
  • Kotlin 2.3.20 → 2.4.20 (version catalog, settings, examples, README, tests)
  • Compose Multiplatform 1.10.2 → 1.12.1 in examples

Deprecation fixes (Gradle 9.8)

  • val x by getting { } → KMP source set accessors (jvmMain { })
  • val x by creating { } on cinterops → create("x") { }
  • Add foojay-resolver-convention so JDK toolchains are no longer auto-provisioned without repositories
  • Pin Compose Hot Reload 1.3.0-beta01 in examples: 1.2.0 (bundled with Compose) calls the deprecated Configuration.setVisible
  • compose.runtime accessor → direct org.jetbrains.compose.runtime:runtime dependency

Kotlin 2.4 test fixes

Kotlin 2.4 reports statically impossible is checks as errors (IMPOSSIBLE_IS_CHECK_ERROR). The affected tests in InheritanceTest / InterfaceTest now use KClass.isInstance to keep the runtime assertion.

Test plan

  • ./gradlew -p plugin-build :nna:test
  • ./gradlew help --warning-mode=all: no deprecation warnings
  • :examples:calculator:compileTestKotlinJvm
  • Full :examples:calculator:jvmTest suite (CI)

- 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
@kdroidFilter
kdroidFilter merged commit c8e6fa7 into main Oct 5, 2026
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