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 <chris.bono@gmail.com>
This commit is contained in:
Chris Bono
2025-02-07 12:57:28 -06:00
parent b65c03d1c5
commit 7e01d36af3

View File

@@ -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'