Update Java Configuration Samples to Spring 6

This commit is contained in:
Marcus Da Coregio
2023-03-31 10:11:28 -03:00
parent 032cd671d3
commit f99e0e4ff0
20 changed files with 52 additions and 51 deletions

View File

@@ -1,7 +1,7 @@
plugins {
id "java"
id "nebula.integtest" version "8.2.0"
id "org.gretty" version "3.0.6"
id "org.gretty" version "4.0.3"
id "war"
}
@@ -16,14 +16,17 @@ repositories {
ext["micrometer.version"] = "1.10.0-SNAPSHOT"
dependencies {
implementation platform("org.springframework:spring-framework-bom:5.3.0")
implementation platform("org.springframework.security:spring-security-bom:5.5.0-SNAPSHOT")
implementation platform("org.springframework:spring-framework-bom:6.0.7")
implementation platform("org.springframework.security:spring-security-bom:6.0.2")
implementation platform("org.junit:junit-bom:5.7.0")
implementation "org.springframework.security:spring-security-config"
implementation "org.springframework.security:spring-security-web"
implementation "org.springframework:spring-webmvc"
implementation "org.thymeleaf:thymeleaf-spring5:3.0.11.RELEASE"
implementation "org.thymeleaf:thymeleaf-spring6:3.1.1.RELEASE"
providedCompile "jakarta.servlet:jakarta.servlet-api:6.0.0"
providedCompile "org.glassfish.web:jakarta.servlet.jsp.jstl:2.0.0"
testImplementation "org.assertj:assertj-core:3.18.0"
testImplementation "org.springframework:spring-test"