Commit a88d1ed
authored
Update dependencies (#459)
* Update dependencies
Plugins:
- com.diffplug.spotless 6.25.0 -> 7.2.1
- io.spring.dependency-management 1.1.6 -> 1.1.7
- me.champeau.jmh 0.7.2 -> 0.7.3
- com.google.protobuf (gradle) 0.9.4 -> 0.9.5
- Gradle wrapper 8.10.2 -> 8.14.3
Libraries:
- log4j 2.24.1 -> 2.25.4
- junit-jupiter 5.11.3 -> 5.13.4
- junit-platform 1.13.4 (new explicit dependency)
- assertj-core 3.26.3 -> 3.27.4
- protobuf-java 3.25.5 -> 4.32.1
- netty 4.2.5.Final -> 4.2.12.Final
- netty-tcnative-boringssl-static 2.0.73.Final -> 2.0.76.Final
- bouncycastle 1.78.1 -> 1.80
- guava 33.3.1-jre -> 33.4.8-jre
- slf4j-api 2.0.9 -> 2.0.17
- ktlint version pinned to 1.1.1
Other:
- Remove jmh from explicit dependencies (managed by me.champeau.jmh plugin)
- Use ParameterizedInvocationConstants.INDEX_PLACEHOLDER (junit 5.13+)
- Remove dead commented-out debug code in GossipScoreBenchmark
* Fix detekt failing on JVM 21
detekt 1.22.0 only accepts jvmTarget up to 18, so it fails when Gradle
runs on Java 21. Explicitly setting jvmTarget = "11" on the Detekt tasks
matches the project's configured Kotlin target and unblocks the check.
detekt 1.23.x would fix this properly but requires Kotlin 1.9+, which
is a separate upgrade.
* Revert slf4j and bouncycastle upgrades for Android compatibility
AGP 7.4.2's D8 dexer cannot process the newer bytecode format used by
slf4j-api 2.0.17 and bouncycastle 1.80, causing the android-chatter
example module to fail to build. Reverting to versions compatible with
the old D8 toolchain.
Unblocked once AGP is upgraded (tracked in #458 as part of Kotlin 2.x work).
* Revert guava upgrade for Android compatibility
guava 33.4.8-jre transitively brings in error_prone_annotations 2.36.0,
which AGP 7.4.2's D8 dexer cannot process. Reverting to 33.3.1-jre
which pulls in 2.28.0, the previously working version.
Unblocked once AGP is upgraded (tracked in #458).
* Revert protobuf upgrade for Android compatibility
protobuf-java 4.32.1 generates bytecode that AGP 7.4.2's D8 dexer
cannot process (IdentifyOuterClass and similar generated classes fail
to dex). Reverting to 3.25.5 (the current develop version) restores
Android compatibility.
protobuf 4.x can be revisited once AGP is upgraded (tracked in #458).
* Change Netty version in versions.gradle
Updated Netty version from 4.2.12.Final to 4.2.10.Final.1 parent 9445f0d commit a88d1ed
9 files changed
Lines changed: 63 additions & 55 deletions
File tree
- gradle/wrapper
- libp2p
- src
- jmh/java/io/libp2p/pubsub/gossip
- test/kotlin/io/libp2p/pubsub/gossip
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
| |||
108 | 113 | | |
109 | 114 | | |
110 | 115 | | |
| 116 | + | |
| 117 | + | |
111 | 118 | | |
112 | | - | |
| 119 | + | |
113 | 120 | | |
114 | 121 | | |
115 | 122 | | |
| |||
140 | 147 | | |
141 | 148 | | |
142 | 149 | | |
143 | | - | |
| 150 | + | |
144 | 151 | | |
145 | 152 | | |
146 | 153 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 110 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
189 | | - | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 26 | | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
0 commit comments