plugins { id "war" id "org.springframework.boot.conventions" } description = "Spring Boot Jetty JSP smoke test" configurations { providedRuntime { extendsFrom dependencyManagement } } dependencies { compileOnly("jakarta.servlet:jakarta.servlet-api") 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: "javax.annotation", module: "javax.annotation-api" exclude group: "javax.servlet", module: "javax.servlet-api" } 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")) }