diff --git a/build.gradle b/build.gradle index 5be0a0fd1d..83bfda6c17 100644 --- a/build.gradle +++ b/build.gradle @@ -26,12 +26,8 @@ allprojects { repositories { mavenCentral() - maven { - url "https://repo.spring.io/milestone" - content { - // Thymeleaf uses 6.0.0-RC2 of Security's bom in its dependency management - includeModule("org.springframework.security", "spring-security-bom") - } + if (version.contains('-')) { + maven { url "https://repo.spring.io/milestone" } } if (version.endsWith('-SNAPSHOT')) { maven { url "https://repo.spring.io/snapshot" } diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index f3fe739c49..487fd6d5c6 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1451,7 +1451,7 @@ bom { ] } } - library("Thymeleaf", "3.1.0.RELEASE") { + library("Thymeleaf", "3.1.1.RELEASE") { group("org.thymeleaf") { modules = [ "thymeleaf",