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("jakarta.servlet:jakarta.servlet-api") api("jakarta.websocket:jakarta.websocket-api") api("org.apache.tomcat.embed:tomcat-embed-el") api("org.eclipse.jetty:jetty-servlets") api("org.eclipse.jetty:jetty-webapp") { exclude(group: "org.eclipse.jetty.toolchain", module: "jetty-jakarta-servlet-api") } api("org.eclipse.jetty.websocket:websocket-jakarta-server") { exclude(group: "org.eclipse.jetty.toolchain", module: "jetty-jakarta-servlet-api") exclude(group: "org.eclipse.jetty.toolchain", module: "jetty-jakarta-websocket-api") } api("org.eclipse.jetty.websocket:websocket-jetty-server") { exclude group: "org.eclipse.jetty", module: "jetty-jndi" exclude(group: "org.eclipse.jetty.toolchain", module: "jetty-jakarta-servlet-api") } }