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")) }