【发布时间】:2017-08-01 18:16:59
【问题描述】:
在build.gradle中定义这样的时候,spring boot是如何知道使用哪个版本的呢?是基于spring boot gradle插件版本的吗?
dependencies {
// tag::jetty[]
compile("org.springframework.boot:spring-boot-starter-web") {
exclude module: "spring-boot-starter-tomcat"
}
compile("org.springframework.boot:spring-boot-starter-jetty")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
testCompile("junit:junit")
}
我可能在文档中遗漏了这一点,因此请指出正确的方向。
【问题讨论】:
标签: gradle spring-boot