Phillip Webb e0013454b5 Use parentheses when declaring dependencies
Update all dependencies declarations to use the form `scope(reference)`
rather than `scope reference`.

Prior to this commit we declared dependencies without parentheses unless
we were forced to add them due to an `exclude`.
2020-01-22 16:02:38 -08:00

26 lines
993 B
Groovy

plugins {
id "org.springframework.boot.starter"
}
description = "Starter for using Jetty as the embedded servlet container. An alternative to spring-boot-starter-tomcat"
dependencies {
api(platform(project(":spring-boot-project:spring-boot-dependencies")))
api("jakarta.servlet:jakarta.servlet-api")
api("jakarta.websocket:jakarta.websocket-api")
api("org.eclipse.jetty:jetty-servlets")
api("org.eclipse.jetty:jetty-webapp") {
exclude group: "javax.servlet", module: "javax.servlet-api"
}
api("org.eclipse.jetty.websocket:websocket-server") {
exclude group: "javax.servlet", module: "javax.servlet-api"
}
api("org.eclipse.jetty.websocket:javax-websocket-server-impl") {
exclude group: "javax.annotation", module: "javax.annotation-api"
exclude group: "javax.servlet", module: "javax.servlet-api"
exclude group: "javax.websocket", module: "javax.websocket-api"
exclude group: "javax.websocket", module: "javax.websocket-client-api"
}
api("org.glassfish:jakarta.el")
}