From 3331046306782d23ce7e81f57d22829767f6de09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Wed, 16 Jul 2025 14:23:36 +0200 Subject: [PATCH] Add internal dependency management for gRPC Closes gh-46444 --- module/spring-boot-opentelemetry/build.gradle | 2 +- module/spring-boot-tracing/build.gradle | 2 +- platform/spring-boot-internal-dependencies/build.gradle | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/module/spring-boot-opentelemetry/build.gradle b/module/spring-boot-opentelemetry/build.gradle index af9e1bf35a0..cab4b3bae25 100644 --- a/module/spring-boot-opentelemetry/build.gradle +++ b/module/spring-boot-opentelemetry/build.gradle @@ -46,5 +46,5 @@ dependencies { testImplementation("com.squareup.okhttp3:mockwebserver") testRuntimeOnly("ch.qos.logback:logback-classic") - testRuntimeOnly("io.grpc:grpc-api:1.72.0") + testRuntimeOnly("io.grpc:grpc-api") } diff --git a/module/spring-boot-tracing/build.gradle b/module/spring-boot-tracing/build.gradle index f7dba385a63..ae96f8ba0a7 100644 --- a/module/spring-boot-tracing/build.gradle +++ b/module/spring-boot-tracing/build.gradle @@ -64,5 +64,5 @@ dependencies { testImplementation("org.eclipse.jetty.http2:jetty-http2-server") testRuntimeOnly("ch.qos.logback:logback-classic") - testRuntimeOnly("io.grpc:grpc-api:1.72.0") + testRuntimeOnly("io.grpc:grpc-api") } diff --git a/platform/spring-boot-internal-dependencies/build.gradle b/platform/spring-boot-internal-dependencies/build.gradle index 960fb038575..0ab9383dfbb 100644 --- a/platform/spring-boot-internal-dependencies/build.gradle +++ b/platform/spring-boot-internal-dependencies/build.gradle @@ -90,7 +90,12 @@ bom { "jsr305" ] } - } + } + library("gRPC", "1.73.0") { + group("io.grpc") { + bom("grpc-bom") + } + } library("Janino", "3.1.12") { group("org.codehaus.janino") { bom("janino") {