Skip to content

Upgrade shadow to 9.4.3 and drop redundant vulnerability constraints - #222

Merged
bigdaz merged 1 commit into
mainfrom
upgrade-shadow-9.4.3
Jul 5, 2026
Merged

Upgrade shadow to 9.4.3 and drop redundant vulnerability constraints#222
bigdaz merged 1 commit into
mainfrom
upgrade-shadow-9.4.3

Conversation

@bigdaz

@bigdaz bigdaz commented Jul 4, 2026

Copy link
Copy Markdown
Member

What

  • Bump com.gradleup.shadow 9.2.2 → 9.4.3 (latest release).
  • Remove the buildscript { … constraints { … } } block in plugin/build.gradle.kts that forced patched commons-io / log4j-core versions.
  • Drop the apache-log4j-core version-catalog entry (its only consumer was that constraint). apache-commons-io is kept — it's still used by plugin-test.

Why

Shadow 9.4.3 now ships patched transitive dependencies natively (commons-io:2.22.0, log4j-core:2.26.0), which are newer than the versions the constraints pinned. The constraints had become no-ops, so they're removed along with the now-unused catalog entry.

Gradle version

Left at 8.14.4. The latest shadow does not require Gradle 9 — 9.4.3 builds and tests cleanly on 8.14.4 — so no Gradle bump is needed and the plugin's Gradle 5 runtime compatibility is unaffected.

Note: this does not remove the org.gradle.api.plugins.Convention deprecation warning — that originates from the Kotlin Gradle plugin (1.8.10), not shadow.

Verification

  • :plugin:test
  • :plugin-test:test (integration suite) ✅
  • :plugin:shadowJar ✅ — buildscript classpath still resolves commons-io:2.22.0 / log4j-core:2.26.0

🤖 Generated with Claude Code

Bump com.gradleup.shadow 9.2.2 -> 9.4.3, the latest release. It builds
and tests cleanly on the existing Gradle 8.14.4, so no Gradle bump is
required and Gradle 5 runtime compatibility is unaffected.

Shadow 9.4.3 now ships patched transitive dependencies (commons-io
2.22.0, log4j-core 2.26.0), so the buildscript constraints that forced
newer versions are redundant. Remove the buildscript block and the
apache-log4j-core catalog entry (the only consumer of the constraint).
apache-commons-io is retained as it is still used by plugin-test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bigdaz
bigdaz enabled auto-merge (squash) July 4, 2026 23:36
@bigdaz
bigdaz merged commit b8b7526 into main Jul 5, 2026
16 checks passed
@bigdaz
bigdaz deleted the upgrade-shadow-9.4.3 branch July 5, 2026 00:52
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