Skip to content

Commit 8ce391b

Browse files
update protobuf to 4.32.1 (#1223)
* update protobuf to 4.32.1 * move protobuf dependency to module * Revert "move protobuf dependency to module" This reverts commit 58b084c. * move the protobuf dependency back to edge
1 parent 8bcaaf6 commit 8ce391b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ netty = "4.2.6.Final"
4747
json = "20250107"
4848
pmd = "6.55.0"
4949
postgresql = "42.7.3"
50+
protobuf = "4.32.1"
5051
shrinkwrap = "1.2.6"
5152
slf4j = "2.0.17"
5253
spotBugs = "4.9.4"
@@ -145,6 +146,7 @@ plc4j-s7 = { module = "org.apache.plc4x:plc4j-driver-s7", version.ref = "apache-
145146
plc4j-ads = { module = "org.apache.plc4x:plc4j-driver-ads", version.ref = "apache-plc4x" }
146147
plc4j-transport-raw-socket = { module = "org.apache.plc4x:plc4j-transport-raw-socket", version.ref = "apache-plc4x" }
147148
postgresql= { module = "org.postgresql:postgresql", version.ref = "postgresql" }
149+
protobuf = { module = "com.google.protobuf:protobuf-java", version.ref = "protobuf" }
148150
shrinkwrap-api = { module = "org.jboss.shrinkwrap:shrinkwrap-api", version.ref = "shrinkwrap" }
149151
shrinkwrap-impl = { module = "org.jboss.shrinkwrap:shrinkwrap-impl-base", version.ref = "shrinkwrap" }
150152
slf4j-api = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }

hivemq-edge/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ dependencies {
208208
compileOnly("com.hivemq:hivemq-edge-module-file")
209209

210210
//FIXME: should be in module instead
211-
implementation("com.google.protobuf:protobuf-java:4.29.3")
211+
// we need better module isolation for that as the modules pick up Netty from the app class loader
212+
implementation("com.google.protobuf:protobuf-java:4.32.1")
212213
}
213214

214215
/* ******************** test ******************** */

0 commit comments

Comments
 (0)