Repository navigation
build: upgrade to Gradle 9.9.2 - #2053
Merged
Merged
Conversation
./gradlew wrapper, run twice, set the distribution URL and updated the wrapper JAR, whose SHA-256 is the one that services.gradle.org gives for gradle-9.9.2-wrapper.jar.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2053 +/- ##
==========================================
+ Coverage 49.47% 49.49% +0.01%
==========================================
Files 813 813
Lines 33343 33350 +7
Branches 6854 5195 -1659
==========================================
+ Hits 16498 16507 +9
- Misses 14267 14268 +1
+ Partials 2578 2575 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…ion three more times The wrapper gave up after one failed download of the Gradle distribution (retries=0). It now tries three more times, after 1, 2 and 4 seconds. The wrapper task sets it, so that ./gradlew wrapper keeps it.
Collaborator
Author
|
@coderabbitai review |
Action performed
|
This was referenced Nov 21, 2026
lagergren
added a commit
that referenced
this pull request
Nov 21, 2026
…it for an edit of the description (#2067) Fixes #2066. The *Conventional Commits PR Check* ran for every edit of a pull request, its description included, and since #1973 a newer run cancelled the one in progress. A push followed within seconds by an edit of the description left a cancelled run of `main` on the commit, which GitHub counts as a failed check: the pull request showed a red cross and the merge state `UNSTABLE`, while the other run of the same check passed (#2049, #2053, #2052). - The workflow has no concurrency group any more, so no run is cancelled. `cancel-in-progress: false` would not be enough: a run that waits in the group is still cancelled when a newer one joins it. The check takes a few seconds. - The job is skipped for an edit that doesn't change the title (`github.event.changes.title`). A skipped run doesn't count as a failure. Pushes and title edits run the check as before. The other workflows keep the cancellation of #1973, where it saves runners. Test: `actionlint` passes. This pull request runs the changed workflow: the check ran and passed when it was opened, and this edit of its description, which changes no title, skips it.
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.
Upgrades Gradle from 9.8.1 to 9.9.2, its latest release (2026-11-19).
./gradlew wrapper, run twice as Gradle recommends, set the distribution URL ingradle-wrapper.propertiesand updatedgradle-wrapper.jar, whose SHA-256,621008af…cdaf8, is the one that services.gradle.org gives forgradle-9.9.2-wrapper.jar.gradleVersioningradle.properties, which thewrappertask reads, is 9.9.2 too.gradlewandgradlew.batare unchanged.The wrapper also tries a failed download of the distribution three more times, after 1, 2 and 4 seconds, instead of giving up at once (
retrieswas 0). Thewrappertask sets it, as it sets the network timeout since #1917, so that./gradlew wrapperkeeps it.With Gradle 9.9.2, the build gives one new deprecation warning, which LSP4IJ's build can't fix:
Task.getAnt(), to be removed in Gradle 10: theinstrumentCodetask of the IntelliJ Platform Gradle Plugin calls it (InstrumentCodeTask.prepareAntClassLoader), in 2.20.0 and still on the plugin'smain. The only way around it here would be to turn off code instrumentation, which would take the runtime@NotNullchecks out of the plugin: LSP4IJ has no GUI forms, so those checks are all that instrumentation adds.The other warning,
Configuration.setVisible(boolean), to be removed in Gradle 11, already shows with 9.8.1: Kover 0.9.11, its latest release, calls it. Kover fixed it inKotlin/kotlinx-kover#838, which isn't released yet.The first run of Build Plugin zip failed on a
403 Forbiddenof Maven Central forkotlin-stdlib-2.4.21.pom, which Gradle 9.9.2 resolves for the build script and which the Gradle cache of CI, made with 9.8.1, doesn't hold yet. The other jobs downloaded it, and the rerun passed. Gradle tries a dependency download again on a timeout or an error 5xx or 429, not on a 403. Once this is merged, the cache thatmainwrites holds it.Test: the configuration cache is stored and then reused,
buildPluginbuilds the plugin, and all tests pass (1772, 7 skipped).