From 515ff4168ccdb4951e0c7f8ad41fd32c247a8745 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Fri, 13 Jan 2023 10:48:20 +0100 Subject: [PATCH] Tweak BOMR prohibitions --- spring-boot-project/spring-boot-dependencies/build.gradle | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 484d6bc560..79ece0f3d8 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -985,8 +985,8 @@ bom { } library("MSSQL JDBC", "11.2.2.jre17") { prohibit { - endsWith ".jre18" - because "it needs Java 18" + endsWith([".jre8", ".jre11", ".jre18"]) + because "we use the .jre17 version" } group("com.microsoft.sqlserver") { modules = [ @@ -1431,6 +1431,10 @@ bom { } } library("Spring Session", "3.0.0") { + prohibit { + startsWith(["Apple-", "Bean-", "Corn-", "Dragonfruit-"]) + because "Spring Session switched to numeric version numbers" + } group("org.springframework.session") { imports = [ "spring-session-bom"