mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Fix servlet-api dependency scope for spring-boot-h2-console
Closes gh-51094
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user