mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
35 lines
1016 B
Groovy
35 lines
1016 B
Groovy
plugins {
|
|
id "war"
|
|
id "org.springframework.boot.conventions"
|
|
}
|
|
|
|
description = "Spring Boot Jetty JSP smoke test"
|
|
|
|
configurations {
|
|
providedRuntime {
|
|
extendsFrom dependencyManagement
|
|
}
|
|
}
|
|
|
|
configurations.all {
|
|
resolutionStrategy.force("jakarta.servlet:jakarta.servlet-api:5.0.0")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-jetty"))
|
|
|
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web")) {
|
|
exclude module: "spring-boot-starter-tomcat"
|
|
}
|
|
|
|
providedRuntime("org.eclipse.jetty:apache-jsp") {
|
|
exclude group: "org.eclipse.jetty.toolchain", module: "jetty-jakarta-servlet-api"
|
|
exclude group: "org.eclipse.jetty.toolchain", module: "jetty-schemas"
|
|
}
|
|
|
|
runtimeOnly("org.glassfish.web:jakarta.servlet.jsp.jstl")
|
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
|
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-jetty"))
|
|
}
|