2020-01-10 21:48:43 +08:00
|
|
|
plugins {
|
2020-01-23 03:24:37 +08:00
|
|
|
id "war"
|
|
|
|
|
id "org.springframework.boot.conventions"
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
|
|
|
|
|
2020-01-23 03:24:37 +08:00
|
|
|
description = "Spring Boot Jetty JSP smoke test"
|
2020-01-10 21:48:43 +08:00
|
|
|
|
|
|
|
|
dependencies {
|
2020-01-23 03:24:37 +08:00
|
|
|
compileOnly "jakarta.servlet:jakarta.servlet-api"
|
|
|
|
|
compileOnly project(":spring-boot-project:spring-boot-starters:spring-boot-starter-jetty")
|
2020-01-15 20:32:37 +08:00
|
|
|
|
2020-01-23 03:24:37 +08:00
|
|
|
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web")) {
|
|
|
|
|
exclude module: "spring-boot-starter-tomcat"
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
2020-01-15 20:32:37 +08:00
|
|
|
|
2020-01-23 03:24:37 +08:00
|
|
|
providedRuntime platform(project(":spring-boot-project:spring-boot-dependencies"))
|
|
|
|
|
providedRuntime ("org.eclipse.jetty:apache-jsp") {
|
|
|
|
|
exclude group: "javax.annotation", module: "javax.annotation-api"
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
2020-01-15 20:32:37 +08:00
|
|
|
|
2020-01-23 03:24:37 +08:00
|
|
|
runtimeOnly "javax.servlet:jstl"
|
2020-01-15 20:32:37 +08:00
|
|
|
|
2020-01-23 03:24:37 +08:00
|
|
|
testImplementation project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")
|
|
|
|
|
testImplementation project(":spring-boot-project:spring-boot-starters:spring-boot-starter-jetty")
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|