File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 10391039 <sha256 value =" 22b49f09ab47f5bc6a6d1a572692b373f0647236877b1030f0eb52e8ee678258" origin =" Generated by Gradle" />
10401040 </artifact >
10411041 </component >
1042+ <component group =" io.netty" name =" netty-transport-classes-epoll" version =" 4.1.124.Final" >
1043+ <artifact name =" netty-transport-classes-epoll-4.1.124.Final.jar" >
1044+ <sha256 value =" a098c9a095961c8b118f9352bf23c443e0de7c53db2afa0db189d703aed53ef8" origin =" Generated by Gradle" />
1045+ </artifact >
1046+ <artifact name =" netty-transport-classes-epoll-4.1.124.Final.pom" >
1047+ <sha256 value =" 32af1974d8b0f6d28112e056fb75e7365c89f3a19a9abdae5cc1caed99028f42" origin =" Generated by Gradle" />
1048+ </artifact >
1049+ </component >
1050+ <component group =" io.netty" name =" netty-transport-native-epoll" version =" 4.1.124.Final" >
1051+ <artifact name =" netty-transport-native-epoll-4.1.124.Final-linux-aarch_64.jar" >
1052+ <sha256 value =" 89e18fd1c2025467229c20bbca28c79e52eefb2ac5d6ce6d32641293c37e5e56" origin =" Generated by Gradle" />
1053+ </artifact >
1054+ <artifact name =" netty-transport-native-epoll-4.1.124.Final.pom" >
1055+ <sha256 value =" 2508cebd61c7c25d2d50c95e8ebffad8f81f52baff6185a0a45d198dd8b2606e" origin =" Generated by Gradle" />
1056+ </artifact >
1057+ </component >
10421058 <component group =" io.netty" name =" netty-transport-native-unix-common" version =" 4.1.124.Final" >
10431059 <artifact name =" netty-transport-native-unix-common-4.1.124.Final.jar" >
10441060 <sha256 value =" 5b824b485345d3eb4f29bd96005fe71d4bdcda3e4453a834fd58f7e113346115" origin =" Generated by Gradle" />
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apply plugin: 'com.google.protobuf'
33def protobufVersion = ' 3.25.8'
44def grpcVersion = ' 1.75.0'
55def protocGenVersion = ' 1.60.0' // https://github.com/grpc/grpc-java/pull/11371 , 1.64.x is not supported CentOS 7.
6+ def nettyVersion = ' 4.1.124.Final' // Match the Netty version used by grpc-netty 1.75.0
67
78dependencies {
89 api group : ' com.google.protobuf' , name : ' protobuf-java' , version : protobufVersion
@@ -19,6 +20,15 @@ dependencies {
1920
2021 // end google grpc
2122
23+ // Add Epoll support for ARM64 Linux only
24+ if (System . getProperty(" os.name" ). toLowerCase(). contains(" linux" )) {
25+ def arch = System . getProperty(" os.arch" ). toLowerCase()
26+ if (arch. contains(" aarch" ) || arch. contains(" arm" )) {
27+ api group : ' io.netty' , name : ' netty-transport-native-epoll' ,
28+ version : nettyVersion, classifier : ' linux-aarch_64'
29+ }
30+ }
31+
2232 api group : ' com.google.api.grpc' , name : ' proto-google-common-protos' , version : ' 2.15.0'
2333}
2434
You can’t perform that action at this time.
0 commit comments