Fix servlet-api dependency scope for spring-boot-h2-console

Closes gh-51094
This commit is contained in:
Stéphane Nicoll
2026-07-22 11:40:12 +02:00
parent 3f48c2b65a
commit 3d0ec60c8d
+2 -1
View File
@@ -26,9 +26,10 @@ description = "Spring Boot H2"
dependencies {
api(project(":core:spring-boot"))
api("jakarta.servlet:jakarta.servlet-api")
api("com.h2database:h2")
compileOnly("jakarta.servlet:jakarta.servlet-api")
optional(project(":core:spring-boot-autoconfigure"))
testImplementation(project(":core:spring-boot-test"))