diff --git a/build.gradle b/build.gradle index fb95b3e39f7..a5ac0dbf687 100644 --- a/build.gradle +++ b/build.gradle @@ -6,14 +6,11 @@ plugins { } ext { - grpcVersion = "1.83.1" + grpcVersion = "1.85.0" // Netty 4.2 split io.netty.handler.codec.protobuf out of netty-codec into its - // own artifact. Both :framework and :p2p put the varint32 framing codecs on - // their channel pipelines and so must declare it explicitly. Netty itself - // arrives transitively through grpc-netty, so this version has to move with - // grpcVersion above — keeping it here makes that coupling visible instead of - // leaving two literals to drift apart. - nettyVersion = "4.2.15.Final" + // own artifact. :framework and :p2p declare that codec directly, while the + // Netty BOM in :protocol and :p2p aligns the modules brought in by grpc-netty. + nettyVersion = "4.2.19.Final" // Shared by :protocol and :p2p, which both generate from .proto files. protobufVersion = "3.25.8" // Shared by :framework, :plugins and :p2p. @@ -24,6 +21,7 @@ allprojects { version = "1.0.0" apply plugin: "java-library" ext { + // the latest version supporting JDK1.8 is 5.x.x springVersion = "5.3.39" errorproneVersion = "2.42.0" } diff --git a/framework/build.gradle b/framework/build.gradle index 769bb8f3682..2c92f0e9ecf 100644 --- a/framework/build.gradle +++ b/framework/build.gradle @@ -36,7 +36,7 @@ dependencies { exclude group: 'com.google.protobuf' exclude group: 'com.google.protobuf.nano' } - // http + // http. the latest version supporting JDK1.8 is 9.x.x implementation 'org.eclipse.jetty:jetty-server:9.4.58.v20250814' implementation 'org.eclipse.jetty:jetty-servlet:9.4.58.v20250814' // end http diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index a64a34bd199..8c814d2586d 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -1135,76 +1135,76 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + @@ -1215,127 +1215,132 @@ - - - + + + - - + + - - + + - - + + - - - + + + - - + + + + + + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + diff --git a/p2p/build.gradle b/p2p/build.gradle index 80290d1b1ed..42d77b7fe57 100644 --- a/p2p/build.gradle +++ b/p2p/build.gradle @@ -82,6 +82,7 @@ configurations.configureEach { } dependencies { + implementation platform("io.netty:netty-bom:${rootProject.nettyVersion}") // protobuf & grpc (implementation scope: not leaked to consumers) implementation "com.google.protobuf:protobuf-java:${rootProject.protobufVersion}" implementation "com.google.protobuf:protobuf-java-util:${rootProject.protobufVersion}" diff --git a/protocol/build.gradle b/protocol/build.gradle index 741f887c8ed..f199640c74e 100644 --- a/protocol/build.gradle +++ b/protocol/build.gradle @@ -4,6 +4,7 @@ apply from: 'protoLint.gradle' dependencies { api group: 'com.google.protobuf', name: 'protobuf-java', version: rootProject.protobufVersion + api platform("io.netty:netty-bom:${rootProject.nettyVersion}") // checkstyleConfig "com.puppycrawl.tools:checkstyle:${versions.checkstyle}" // google grpc