mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-26 11:39:14 +00:00
Configure Bomr to align gRPC dependency versions with Spring gRPC
Closes gh-50769
This commit is contained in:
@@ -664,6 +664,9 @@ public class Library {
|
||||
}
|
||||
|
||||
private List<Dependency> getBomDependencies(Library manager) {
|
||||
if (manager == null) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return manager.getGroups()
|
||||
.stream()
|
||||
.flatMap((group) -> group.getBoms()
|
||||
|
||||
@@ -21,6 +21,7 @@ mockitoVersion=5.23.0
|
||||
nativeBuildToolsVersion=1.1.1
|
||||
nullabilityPluginVersion=0.0.11
|
||||
snakeYamlVersion=2.6
|
||||
springGrpcVersion=1.1.0
|
||||
springFrameworkVersion=7.0.8
|
||||
springFramework60xVersion=6.0.23
|
||||
tomcatVersion=11.0.22
|
||||
|
||||
@@ -562,6 +562,12 @@ bom {
|
||||
group("io.grpc") {
|
||||
bom("grpc-bom")
|
||||
}
|
||||
alignWith {
|
||||
version {
|
||||
of "io.grpc:grpc-core"
|
||||
from "org.springframework.grpc:spring-grpc-core"
|
||||
}
|
||||
}
|
||||
links {
|
||||
github("https://github.com/grpc/grpc-java")
|
||||
docs("https://grpc.io/docs/languages/java/")
|
||||
@@ -1919,6 +1925,12 @@ bom {
|
||||
group("com.google.protobuf") {
|
||||
bom("protobuf-bom")
|
||||
}
|
||||
alignWith {
|
||||
property {
|
||||
name "protobuf-java.version"
|
||||
of "org.springframework.grpc:spring-grpc-dependencies:$springGrpcVersion"
|
||||
}
|
||||
}
|
||||
links {
|
||||
site("https://protobuf.dev")
|
||||
github("https://github.com/protocolbuffers/protobuf")
|
||||
@@ -2575,7 +2587,7 @@ bom {
|
||||
releaseNotes("https://github.com/spring-projects/spring-graphql/releases/tag/v{version}")
|
||||
}
|
||||
}
|
||||
library("Spring gRPC", "1.1.0") {
|
||||
library("Spring gRPC", "${springGrpcVersion}") {
|
||||
considerSnapshots()
|
||||
group("org.springframework.grpc") {
|
||||
modules = [
|
||||
|
||||
Reference in New Issue
Block a user