Skip to content

Commit fb2cc73

Browse files
committed
Work around Thymeleaf's dependency on spring-security-bom:6.0.0-RC2
Closes gh-33348
1 parent 355b428 commit fb2cc73

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ allprojects {
2626

2727
repositories {
2828
mavenCentral()
29-
if (version.contains('-')) {
30-
maven { url "https://repo.spring.io/milestone" }
29+
maven {
30+
url "https://repo.spring.io/milestone"
31+
content {
32+
// Thymeleaf uses 6.0.0-RC2 of Security's bom in its dependency management
33+
includeModule("org.springframework.security", "spring-security-bom")
34+
}
3135
}
3236
if (version.endsWith('-SNAPSHOT')) {
3337
maven { url "https://repo.spring.io/snapshot" }

0 commit comments

Comments
 (0)