Commit 69d7f21
fix(plugins): align :crypto excludes with direct :platform dependency
Per review on PR tronprotocol#6738: the direct :platform dependency on x86 already
excludes leveldbjni-all, zksnark-java-sdk, and commons-io, but the
transitive :crypto -> :common -> :platform path was only excluding
leveldbjni-all. Verified via :plugins:dependencyInsight that
zksnark-java-sdk and commons-io were leaking back into x86
runtimeClasspath through :crypto.
Mirror the remaining two excludes on :crypto so both paths to :platform
agree on what is kept out of the plugins fat jar. This preserves the
intent of the existing :platform excludes rather than relaxing them.
Re-verified on x86_64 + JDK 8:
- runtimeClasspath no longer contains leveldbjni-all 1.8,
zksnark-java-sdk, or commons-io:commons-io
- java -jar Toolkit.jar db archive -d <empty> still exits 0
- :plugins:test, checkstyleMain, checkstyleTest all pass1 parent 62dbcca commit 69d7f21
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
0 commit comments