Skip to content

Commit 4c7aaad

Browse files
committed
Use grpc-netty-shaded instead of grpc-netty
1 parent 0f7238e commit 4c7aaad

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

stream/clients/java/base/src/test/java/org/apache/bookkeeper/clients/utils/GrpcChannelsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
import io.grpc.ManagedChannelBuilder;
2626
import io.grpc.inprocess.InProcessChannelBuilder;
27-
import io.grpc.netty.NettyChannelBuilder;
27+
import io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder;
2828
import org.apache.bookkeeper.clients.config.StorageClientSettings;
2929
import org.junit.Test;
3030

stream/common/pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<exclusions>
4343
<exclusion>
4444
<groupId>io.grpc</groupId>
45-
<artifactId>grpc-netty-shaded</artifactId>
45+
<artifactId>grpc-netty</artifactId>
4646
</exclusion>
4747
<exclusion>
4848
<groupId>org.bouncycastle</groupId>
@@ -62,6 +62,10 @@
6262
</exclusion>
6363
</exclusions>
6464
</dependency>
65+
<dependency>
66+
<groupId>io.grpc</groupId>
67+
<artifactId>grpc-netty-shaded</artifactId>
68+
</dependency>
6569
<dependency>
6670
<groupId>javax.annotation</groupId>
6771
<artifactId>javax.annotation-api</artifactId>

stream/tests-common/pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<exclusions>
3535
<exclusion>
3636
<groupId>io.grpc</groupId>
37-
<artifactId>grpc-netty-shaded</artifactId>
37+
<artifactId>grpc-netty</artifactId>
3838
</exclusion>
3939
<exclusion>
4040
<groupId>org.bouncycastle</groupId>
@@ -54,6 +54,10 @@
5454
</exclusion>
5555
</exclusions>
5656
</dependency>
57+
<dependency>
58+
<groupId>io.grpc</groupId>
59+
<artifactId>grpc-netty-shaded</artifactId>
60+
</dependency>
5761
<dependency>
5862
<groupId>com.google.protobuf</groupId>
5963
<artifactId>protobuf-java</artifactId>

0 commit comments

Comments
 (0)