Skip to content

Commit

Permalink
fix: build error with netty
Browse files Browse the repository at this point in the history
* Had a build error related to grpc-netty trying to pin netty to 4.1.102 or 4.1.104:
```
   > Could not find netty-transport-native-epoll-4.1.101.Final-linux-riscv64.jar (io.netty:netty-transport-native-epoll:4.1.101.Final).
```
* Could not find a reason to pin the netty version. We're hoping the original reason is no longer valid.

Co-authored-by: Hongchol Sinn <[email protected]>
  • Loading branch information
swalchemist and hsinn0 committed Jan 8, 2024
1 parent 27c90cd commit df37955
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 3 additions & 4 deletions backends/remote/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
buildscript {
ext {
grpcVersion = '1.60.1'
nettyVersion = '4.1.101.Final'
}
repositories {
mavenCentral()
Expand Down Expand Up @@ -63,9 +62,9 @@ dependencies {
implementation "io.grpc:grpc-netty:${grpcVersion}"

//Netty
implementation "io.netty:netty-transport-native-unix-common:${nettyVersion}"
implementation "io.netty:netty-all:${nettyVersion}"
implementation "io.netty:netty-codec-http2:${nettyVersion}"
implementation "io.netty:netty-transport-native-unix-common"
implementation "io.netty:netty-all"
implementation "io.netty:netty-codec-http2"

//tcnative
implementation "io.netty:netty-tcnative-boringssl-static:2.0.62.Final"
Expand Down
5 changes: 2 additions & 3 deletions components/encryption/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
buildscript {
ext {
grpcVersion = '1.60.1'
nettyVersion = '4.1.101.Final'
}
repositories {
mavenCentral()
Expand Down Expand Up @@ -74,8 +73,8 @@ dependencies {
implementation "io.grpc:grpc-netty:${grpcVersion}"

//Netty
implementation "io.netty:netty-transport-native-unix-common:${nettyVersion}"
implementation "io.netty:netty-all:${nettyVersion}"
implementation "io.netty:netty-transport-native-unix-common"
implementation "io.netty:netty-all"
}

dependencyManagement {
Expand Down

0 comments on commit df37955

Please sign in to comment.