configurations { compile.exclude module: "spring-boot-starter-tomcat"dependencies { compile("org.springframework.boot:spring-boot-starter-jetty:1.4.1.RELEASE") // ...