【问题标题】:What determines the versions of the spring boot dependencies when defined without a version in build.gradle?当在 build.gradle 中没有版本定义时,什么决定了 Spring Boot 依赖项的版本?
【发布时间】: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


【解决方案1】:

【讨论】:

    猜你喜欢
    • 2014-05-21
    • 2023-04-03
    • 2020-03-06
    • 2013-01-24
    • 2021-04-27
    • 2021-02-07
    • 1970-01-01
    • 1970-01-01
    • 2020-11-08
    相关资源
    最近更新 更多