netty: Include both x86 and Arm64 epoll as dependency for grpc-netty-shaded

This commit is contained in:
nafeabd 2022-02-09 15:21:36 -06:00 committed by GitHub
parent dc6eacccbf
commit b35506b144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -176,6 +176,7 @@ subprojects {
netty: "io.netty:netty-codec-http2:[${nettyVersion}]",
netty_epoll: "io.netty:netty-transport-native-epoll:${nettyVersion}:linux-x86_64",
netty_epoll_arm64: "io.netty:netty-transport-native-epoll:${nettyVersion}:linux-aarch_64",
netty_proxy_handler: "io.netty:netty-handler-proxy:${nettyVersion}",
// Keep the following references of tcnative version in sync whenever it's updated

View File

@ -18,7 +18,8 @@ sourceSets { testShadow {} }
dependencies {
implementation project(':grpc-netty')
runtimeOnly libraries.netty_tcnative,
libraries.netty_epoll
libraries.netty_epoll,
libraries.netty_epoll_arm64
testShadowImplementation files(shadowJar),
project(':grpc-testing-proto'),
project(':grpc-testing'),