println "[Jetty] 环境 ......" configurations { all*.exclude group: "org.springframework.boot", module: "spring-boot-starter-tomcat" all*.exclude group: "org.apache.tomcat.embed", module: "tomcat-embed-core" all*.exclude group: "org.apache.tomcat.embed", module: "tomcat-embed-websocket" } dependencies { implementation("org.springframework.boot:spring-boot-starter-jetty") providedRuntime( "org.springframework.boot:spring-boot-starter-jetty", ) }