Skip to content

Upgrade to Gradle 9#2993

Merged
weiminyu merged 1 commit intogoogle:masterfrom
weiminyu:gradle-9-zero
Mar 30, 2026
Merged

Upgrade to Gradle 9#2993
weiminyu merged 1 commit intogoogle:masterfrom
weiminyu:gradle-9-zero

Conversation

@weiminyu
Copy link
Copy Markdown
Collaborator

@weiminyu weiminyu commented Mar 27, 2026

Upgrading to 9.4.1.

The biggest change is to the checkLicense task, which must run with the --no-parallel flag.
This is a known issue with the plugin, and difficult to work around. E.g., the mutex pattern,
which enforces sequential task execution, does not help due to problem with task execution order.

We detach checkLicense from build so that the latter can still take advantage of parallelism.
Presubmit and release scripts that care about licenses must explicitly call checkLicense with the
--no-parallel flag.

Other changes include plugin version upgrade, plugin replacement (e.g., shadowjar), explicit task
dependency declaration, and minor syntax change.


This change is Reviewable

Copy link
Copy Markdown
Collaborator

@gbrodman gbrodman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gbrodman reviewed 32 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on CydeWeys).

@weiminyu weiminyu added this pull request to the merge queue Mar 30, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 30, 2026
@weiminyu weiminyu added this pull request to the merge queue Mar 30, 2026
Merged via the queue into google:master with commit 03b3f9f Mar 30, 2026
10 checks passed
@weiminyu weiminyu deleted the gradle-9-zero branch March 30, 2026 18:49
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