Skip to content

Upgrade Gradle 9.4.1 → 9.5.0; bump Develocity to 4.4.1 - #450

Merged
lagergren merged 1 commit into
masterfrom
lagergren/gradle950
Apr 30, 2026
Merged

lagergren merged 1 commit into
masterfrom
lagergren/gradle950

Conversation

@lagergren

Copy link
Copy Markdown
Contributor

Summary

  • Bump Gradle wrapper to 9.5.0 and regenerate gradle-wrapper.jar / gradlew / gradlew.bat (Windows start script reworked per 9.5 release notes).
  • Enable wrapper download retries (retries=3, retryBackOffMs=1000) — the new 9.5 wrapper-level setting — to defend CI against transient services.gradle.org hiccups during distribution download.
  • Develocity plugin 4.3.2 → 4.4.1 (compatible with Gradle 9.5).
  • XtcProjectCreator.DEFAULT_GRADLE_VERSION → 9.5.0 so scaffolded user projects match this repo's wrapper.
  • Add foojay-resolver to gradle/libs.versions.toml as the declared single source of truth, and consume it from build-logic/settings-plugins/build.gradle.kts (the kotlin-dsl classpath dep). Two literal 1.0.0 occurrences remain in the plugins {} blocks of the root and build-logic settings files — the version catalog is not accessible from settings plugin blocks (Make version catalogs available in settings script's plugin block gradle/gradle#24876, #36437); the build-logic settings file documents this with a code comment.
  • Refresh stale embedded-Kotlin comment (Gradle 9.5 embeds Kotlin 2.3.20).

Foojay version is unchanged (1.0.0 is the latest, May 2025). gradle/gradle-daemon-jvm.properties is intentionally not refreshed in this PR — its IDs all still resolve to valid Temurin 25.0.2+10 downloads. Re-run ./gradlew updateDaemonJvm --jvm-version=25 later (when wanting to bump to 25.0.3+ or a future patch) — purely maintenance, not a fix.

Test plan

  • CI green on this branch (commit workflow exercises wrapper, build, test, publish-snapshot)
  • Local: ./gradlew clean && ./gradlew build publishLocal passes under 9.5.0 with config cache enforced
  • Local: ./gradlew :plugin:validatePlugins passes (used by prepare-release)
  • Spot-check Develocity build scan publishes correctly from a CI run

- Wrapper bumped to 9.5.0; gradle-wrapper.jar, gradlew and gradlew.bat
  regenerated under 9.5.0 (Windows start script reworked per release notes).
- Enable wrapper download retries (retries=3, retryBackOffMs=1000), the
  new 9.5 wrapper-level setting, to defend CI against transient
  services.gradle.org hiccups during distribution download.
- Develocity Gradle plugin 4.3.2 → 4.4.1 (compatible with Gradle 9.5).
- XtcProjectCreator.DEFAULT_GRADLE_VERSION → 9.5.0 so scaffolded user
  projects match this repo's wrapper version.
- Refresh stale embedded-Kotlin comment in build-logic/settings-plugins
  (Gradle 9.5 embeds Kotlin 2.3.20).
- Add foojay-resolver to libs.versions.toml as the declared single
  source of truth, and consume it from build-logic/settings-plugins/
  build.gradle.kts (kotlin-dsl classpath dep). Two literal "1.0.0"
  occurrences remain in settings.gradle.kts plugin blocks because the
  catalog is not accessible there (gradle/gradle#24876, #36437); the
  build-logic settings file documents this with a code comment.
@lagergren
lagergren merged commit 9d7e83c into master Apr 30, 2026
4 checks passed
@lagergren
lagergren deleted the lagergren/gradle950 branch April 30, 2026 12:04
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.

2 participants