Update xml:helloworld sample to use Spring 6
Issue gh-46
This commit is contained in:
parent
a6e0f60def
commit
f4afba567a
@ -1,7 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "java"
|
id "java"
|
||||||
id "nebula.integtest" version "8.2.0"
|
id "nebula.integtest" version "8.2.0"
|
||||||
id "org.gretty" version "3.0.6"
|
id "org.gretty" version "4.0.0"
|
||||||
id "war"
|
id "war"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13,16 +13,17 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation platform("org.springframework.security:spring-security-bom:5.6.0-SNAPSHOT")
|
implementation platform("org.springframework.security:spring-security-bom:6.0.0-SNAPSHOT")
|
||||||
implementation platform("org.junit:junit-bom:5.7.0")
|
implementation platform("org.junit:junit-bom:5.7.0")
|
||||||
|
|
||||||
implementation "org.springframework.security:spring-security-config"
|
implementation "org.springframework.security:spring-security-config"
|
||||||
implementation "org.springframework.security:spring-security-web"
|
implementation "org.springframework.security:spring-security-web"
|
||||||
implementation "org.thymeleaf:thymeleaf-spring5:3.0.11.RELEASE"
|
|
||||||
implementation 'javax.servlet:jstl:1.2'
|
|
||||||
implementation 'org.slf4j:slf4j-api:1.7.30'
|
implementation 'org.slf4j:slf4j-api:1.7.30'
|
||||||
implementation 'org.slf4j:slf4j-simple:1.7.30'
|
implementation 'org.slf4j:slf4j-simple:1.7.30'
|
||||||
|
|
||||||
|
providedCompile "jakarta.servlet:jakarta.servlet-api:5.0.0"
|
||||||
|
providedCompile "org.glassfish.web:jakarta.servlet.jsp.jstl:2.0.0"
|
||||||
|
|
||||||
testImplementation "org.springframework:spring-test"
|
testImplementation "org.springframework:spring-test"
|
||||||
testImplementation "org.springframework.security:spring-security-test"
|
testImplementation "org.springframework.security:spring-security-test"
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter-api")
|
testImplementation("org.junit.jupiter:junit-jupiter-api")
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
gretty {
|
gretty {
|
||||||
servletContainer = "tomcat9"
|
servletContainer = "tomcat10"
|
||||||
contextPath = "/"
|
contextPath = "/"
|
||||||
fileLogEnabled = false
|
fileLogEnabled = false
|
||||||
integrationTestTask = 'integrationTest'
|
integrationTestTask = 'integrationTest'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user