Skip to content

Commit ef116ed

Browse files
Migrate to grpc-java 1.58.0
grpc-core does not contain the inprocess classes anymore, they were moved out to io.grpc:grpc-inprocess so we need to add it as a dependency. See https://github.com/grpc/grpc-java/releases/tag/v1.58.0 See grpc/grpc-java#10362 Closes gh-4063
1 parent 05e6534 commit ef116ed

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

dependencies.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def VERSIONS = [
3232
'io.grpc:grpc-api:latest.release',
3333
'io.grpc:grpc-core:latest.release',
3434
'io.grpc:grpc-services:latest.release',
35+
'io.grpc:grpc-inprocess:latest.release',
3536
'io.grpc:grpc-stubs:latest.release',
3637
'io.grpc:grpc-alts:latest.release',
3738
'io.grpc:grpc-testing-proto:latest.release',

micrometer-core/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,9 @@ dependencies {
198198
}
199199
testImplementation("org.apache.maven.resolver:maven-resolver-connector-basic:latest.release")
200200
// gRPC
201-
testImplementation("io.grpc:grpc-core")
202-
testImplementation("io.grpc:grpc-testing-proto")
201+
testImplementation 'io.grpc:grpc-core'
202+
testImplementation 'io.grpc:grpc-inprocess'
203+
testImplementation 'io.grpc:grpc-testing-proto'
203204
}
204205

205206
task shenandoahTest(type: Test) {

samples/micrometer-samples-core/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ dependencies {
1919
implementation 'io.projectreactor.netty:reactor-netty-http'
2020
implementation 'org.apache.kafka:kafka-clients'
2121
implementation 'com.github.charithe:kafka-junit'
22-
implementation ('io.grpc:grpc-services') {
23-
exclude module: 'io.grpc:grpc-netty-shaded'
24-
}
22+
implementation 'io.grpc:grpc-services'
23+
implementation 'io.grpc:grpc-inprocess'
2524

2625
}
2726

2827
configurations.all {
2928
// see: https://github.com/micrometer-metrics/micrometer/issues/3954
3029
exclude group: 'com.google.guava', module: 'listenablefuture'
30+
exclude group: 'io.grpc', module: 'grpc-netty-shaded'
3131
}

0 commit comments

Comments
 (0)