Commit ee3b868
refactor(plugins): drop redundant zksnark/commons-io excludes from :platform
Per follow-up review on PR #6738 (halibobo1205): with :crypto now
participating in plugins runtimeClasspath, the zksnark-java-sdk and
commons-io excludes on the :platform-direct dependency are no longer
"keep-out" semantics — both artifacts arrive via :crypto -> :common ->
:platform anyway, and Gradle deduplicates to a single resolved copy.
Removing them from :platform makes the two project-dep blocks
mirror-symmetric: each excludes only leveldbjni-all on x86, which is
the actual class-collision fix.
Also tightens the :crypto comment now that the dropped excludes no
longer need an asymmetry note. The unrelated test-needs-zksnark/commons
context is captured on the :platform side instead.
Verified on both arches:
- ARM64: runtimeClasspath has leveldbjni-all 1.8 (via :platform direct),
commons-io, and zksnark-java-sdk; :plugins:test passes
- x86_64 + JDK 8: runtimeClasspath has io.github.tronprotocol leveldbjni-all
1.18.2 only, plus commons-io and zksnark-java-sdk; :plugins:test
passes; `db archive -d <empty>` smoke exits 01 parent 26f463b commit ee3b868
1 file changed
Lines changed: 11 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
55 | 49 | | |
56 | 50 | | |
57 | 51 | | |
| |||
65 | 59 | | |
66 | 60 | | |
67 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
68 | 67 | | |
69 | | - | |
70 | | - | |
71 | 68 | | |
72 | 69 | | |
73 | 70 | | |
| |||
0 commit comments