diff --git a/spring-boot-project/spring-boot-autoconfigure/build.gradle b/spring-boot-project/spring-boot-autoconfigure/build.gradle index 1789752bd5..7bb8026bf3 100644 --- a/spring-boot-project/spring-boot-autoconfigure/build.gradle +++ b/spring-boot-project/spring-boot-autoconfigure/build.gradle @@ -204,7 +204,6 @@ dependencies { } optional("org.thymeleaf:thymeleaf") optional("org.thymeleaf:thymeleaf-spring6") - optional("org.thymeleaf.extras:thymeleaf-extras-java8time") optional("org.thymeleaf.extras:thymeleaf-extras-springsecurity6") optional("redis.clients:jedis") diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfiguration.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfiguration.java index 70a6226f3c..4a591b9e22 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfiguration.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfiguration.java @@ -23,7 +23,6 @@ import jakarta.servlet.DispatcherType; import nz.net.ultraq.thymeleaf.layoutdialect.LayoutDialect; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import org.thymeleaf.extras.java8time.dialect.Java8TimeDialect; import org.thymeleaf.extras.springsecurity6.dialect.SpringSecurityDialect; import org.thymeleaf.spring6.ISpringWebFluxTemplateEngine; import org.thymeleaf.spring6.SpringTemplateEngine; @@ -252,16 +251,4 @@ public class ThymeleafAutoConfiguration { } - @Configuration(proxyBeanMethods = false) - @ConditionalOnClass(Java8TimeDialect.class) - static class ThymeleafJava8TimeDialect { - - @Bean - @ConditionalOnMissingBean - Java8TimeDialect java8TimeDialect() { - return new Java8TimeDialect(); - } - - } - } diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 5ba124c149..4cfdb23cb3 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1531,7 +1531,7 @@ bom { ] } } - library("Thymeleaf", "3.1.0.M2") { + library("Thymeleaf", "3.1.0.M3") { group("org.thymeleaf") { modules = [ "thymeleaf", @@ -1546,13 +1546,6 @@ bom { ] } } - library("Thymeleaf Extras Java8Time", "3.0.4.RELEASE") { - group("org.thymeleaf.extras") { - modules = [ - "thymeleaf-extras-java8time" - ] - } - } library("Thymeleaf Extras SpringSecurity", "3.1.0.M1") { group("org.thymeleaf.extras") { modules = [ diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-thymeleaf/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-thymeleaf/build.gradle index 2862bac5fa..efc231b011 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-thymeleaf/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-thymeleaf/build.gradle @@ -7,5 +7,4 @@ description = "Starter for building MVC web applications using Thymeleaf views" dependencies { api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter")) api("org.thymeleaf:thymeleaf-spring6") - api("org.thymeleaf.extras:thymeleaf-extras-java8time") }