Skip to content

Upgrade to Gradle 9#2993

Open
weiminyu wants to merge 1 commit intogoogle:masterfrom
weiminyu:gradle-9-zero
Open

Upgrade to Gradle 9#2993
weiminyu wants to merge 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

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