Skip to content

Commit 3d0ec60

Browse files
committed
Fix servlet-api dependency scope for spring-boot-h2-console
Closes gh-51094
1 parent 3f48c2b commit 3d0ec60

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

module/spring-boot-h2console/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ description = "Spring Boot H2"
2626

2727
dependencies {
2828
api(project(":core:spring-boot"))
29-
api("jakarta.servlet:jakarta.servlet-api")
3029
api("com.h2database:h2")
3130

31+
compileOnly("jakarta.servlet:jakarta.servlet-api")
32+
3233
optional(project(":core:spring-boot-autoconfigure"))
3334

3435
testImplementation(project(":core:spring-boot-test"))

0 commit comments

Comments
 (0)