spring boot更改thymeleaf版本

spring boot下更改thymeleaf版本

Maven配置

1
2
3
4
<properties>
<thymeleaf.version>3.0.2.RELEASE</thymeleaf.version>
<thymeleaf-layout-dialect.version>2.0.5</thymeleaf-layout-dialect.version>
</properties>

Gradle配置

1
2
ext['thymeleaf.version'] = '3.0.2.RELEASE'
ext['thymeleaf-layout-dialect.version'] = '2.0.5'


提示: spring boot所有的依赖项的版本配置在

1
2
3
4
5
6
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>1.4.2.RELEASE</version>
<relativePath>../../spring-boot-dependencies</relativePath>
</parent>

用自己的版本号覆盖就行

您的支持将鼓励我继续创作!