You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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"))
|
|
}
|