对于Gradle,你需要设置jetty.version属性,例如对于一个简单的webapp或service:
jetty.version
ext['jetty.version'] = '9.2.17.v20160517' dependencies { compile ('org.springframework.boot:spring-boot-starter-web') { exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat' } compile ('org.springframework.boot:spring-boot-starter-jetty') }
Last updated 6 years ago
Was this helpful?