Skip to content

Upgrade Gradle wrapper to 9.4.1 - #960

Merged
iuliiasobolevska merged 1 commit into
masterfrom
fix/gradle-9.4.1
Sep 23, 2026
Merged

iuliiasobolevska merged 1 commit into
masterfrom
fix/gradle-9.4.1

Conversation

@iuliiasobolevska

@iuliiasobolevska iuliiasobolevska commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • upgrade the Gradle wrapper from 8.14.3 to 9.4.1
  • upgrade Nebula OSS from 11.6.0 to the minimal compatible 12.0.0 release
  • retain Kotlin 2.0.21 and disable only its incompatible Kotlin Multiplatform POM rewrite for JVM publications
  • adapt TestKit fixtures and task validation to Gradle 9
  • build downstream examples with their own wrappers

Root cause

Nebula OSS 11.6.0 crashes during Gradle 9 configuration. After moving to Nebula OSS 12.0.0, Kotlin Gradle plugin 2.0.21 POM rewriting calls a Gradle API removed in Gradle 9. Gradle 9 also removes the TestKit -b and -c options and makes plugin task validation failures fatal.

Related PRs

  • #924 contains broader upgrade work, including a Kotlin version update. This PR deliberately decouples the Gradle wrapper and Nebula compatibility changes from the Kotlin upgrade to reduce downstream DGS consumer risk.
  • #927 is the automated Dependabot wrapper update. The wrapper-only change cannot pass CI without the manual Nebula, Kotlin POM publishing, TestKit, task-validation, and downstream example-build fixes included here.

Verification

  • ./gradlew check publishToMavenLocal --warning-mode all
  • Gradle plugin and configuration-cache functional tests
  • dgs-examples-java full clean check with Gradle 8.4
  • dgs-examples-kotlin full clean check with Gradle 8.14.2
  • generated Gradle 9 POM dependencies compared with the Gradle 8.14.3 baseline
  • push and pull-request GitHub Actions workflows pass with no excluded test tasks

@iuliiasobolevska iuliiasobolevska added gradle-wrapper Pull requests that update Gradle wrapper dependencies Pull requests that update a dependency file labels Sep 21, 2026
@iuliiasobolevska
iuliiasobolevska force-pushed the fix/gradle-9.4.1 branch 7 times, most recently from fe1a2e8 to 3640792 Compare September 21, 2026 19:01
@iuliiasobolevska
iuliiasobolevska marked this pull request as ready for review September 21, 2026 19:05
Use Nebula OSS 12 for Gradle 9 compatibility while retaining Kotlin 2.0.21. Disable Kotlin's incompatible MPP POM rewrite for JVM publications and adapt functional and example tests to removed Gradle CLI options.
@iuliiasobolevska
iuliiasobolevska merged commit 04ea7a8 into master Sep 23, 2026
2 checks passed
@iuliiasobolevska
iuliiasobolevska deleted the fix/gradle-9.4.1 branch September 23, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file gradle-wrapper Pull requests that update Gradle wrapper

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants