Commit b8b7526
Upgrade shadow to 9.4.3 and drop redundant vulnerability constraints (#222)
## 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](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 8e1f7e4 commit b8b7526
2 files changed
Lines changed: 1 addition & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 7 | | |
23 | 8 | | |
24 | 9 | | |
| |||
0 commit comments