From 7e01d36af30f0eb8a483c6cb677b7ba12dbad61c Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Fri, 7 Feb 2025 12:57:28 -0600 Subject: [PATCH] Revert previous change in Netty shaded sample The build.gradle previous use of `replacedBy` is consistent w/ what is already in the ref guide. Signed-off-by: Chris Bono --- samples/grpc-server-netty-shaded/build.gradle | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/samples/grpc-server-netty-shaded/build.gradle b/samples/grpc-server-netty-shaded/build.gradle index f471ba0..1c3cbf7 100644 --- a/samples/grpc-server-netty-shaded/build.gradle +++ b/samples/grpc-server-netty-shaded/build.gradle @@ -29,11 +29,14 @@ dependencyManagement { } dependencies { - implementation ('org.springframework.grpc:spring-grpc-spring-boot-starter') { - exclude group: "io.grpc", module: "grpc-netty" - } + implementation 'org.springframework.grpc:spring-grpc-spring-boot-starter' implementation 'io.grpc:grpc-netty-shaded' implementation 'io.grpc:grpc-services' + modules { + module("io.grpc:grpc-netty") { + replacedBy("io.grpc:grpc-netty-shaded", "Use Netty shaded instead of regular Netty") + } + } testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.grpc:spring-grpc-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher'