Skip to content

Commit a3019b7

Browse files
committed
Update to jakarta.servlet-api:5.0.0
Closes gh-838
1 parent 395cdbd commit a3019b7

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

buildSrc/src/main/java/org/springframework/gradle/classpath/CheckClasspathForProhibitedDependencies.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,9 @@ private boolean prohibited(ModuleVersionIdentifier id) {
7878
if (group.equals("javax.money")) {
7979
return false;
8080
}
81-
// TODO: Uncomment the following lines when upgrading to Spring Framework 6
82-
// if (group.startsWith("javax")) {
83-
// return true;
84-
// }
81+
if (group.startsWith("javax")) {
82+
return true;
83+
}
8584
if (group.equals("commons-logging")) {
8685
return true;
8786
}

dependencies/spring-authorization-server-dependencies.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies {
1212
api platform("com.fasterxml.jackson:jackson-bom:2.13.3")
1313
constraints {
1414
api "com.nimbusds:nimbus-jose-jwt:9.22"
15-
api "javax.servlet:javax.servlet-api:4.0.1"
15+
api "jakarta.servlet:jakarta.servlet-api:5.0.0"
1616
api "junit:junit:4.13.2"
1717
api "org.assertj:assertj-core:3.22.0"
1818
api "org.mockito:mockito-core:4.5.1"

oauth2-authorization-server/spring-security-oauth2-authorization-server.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ dependencies {
2929

3030
testRuntimeOnly "org.hsqldb:hsqldb"
3131

32-
provided "javax.servlet:javax.servlet-api"
32+
provided "jakarta.servlet:jakarta.servlet-api"
3333
}

0 commit comments

Comments
 (0)