Skip to content

Commit 48a9334

Browse files
adinauerclaude
andcommitted
build(servlet): Keep Servlet 3.1 as compatibility floor
Compile the javax servlet integrations against the minimum supported API. Exclude the intentionally pinned API from Dependabot while retaining the separate Servlet 4 alias for latest-runtime coverage. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 98875ae commit 48a9334

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/dependabot.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ updates:
1717
ignore:
1818
- dependency-name: "org.springframework.boot*"
1919
- dependency-name: "io.opentelemetry*"
20+
# Servlet 3.1 is the minimum supported API and must remain the production compile target.
21+
- dependency-name: "javax.servlet:javax.servlet-api"
2022
# DGS 5+ needs Spring Boot 3; the sample is on Spring Boot 2.
2123
- dependency-name: "com.netflix.graphql.dgs*"
2224
commit-message:

‎gradle/libs.versions.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit
198198
retrofit-gson = { module = "com.squareup.retrofit2:converter-gson", version.ref = "retrofit" }
199199
sentry-native-ndk = { module = "io.sentry:sentry-native-ndk", version = "0.17.6" }
200200
sentry-native-ndk-outproc = { module = "io.sentry:sentry-native-ndk-outproc", version = "1.0.0-beta.1" }
201-
servlet-api = { module = "javax.servlet:javax.servlet-api", version = "4.0.1" }
201+
servlet-api = { module = "javax.servlet:javax.servlet-api", version = "3.1.0" }
202202
servlet4-api = { module = "javax.servlet:javax.servlet-api", version = "4.0.1" }
203203
servlet-jakarta-api = { module = "jakarta.servlet:jakarta.servlet-api", version = "6.1.0" }
204204
slf4j-api = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }

0 commit comments

Comments
 (0)