【发布时间】:2014-11-26 02:17:18
【问题描述】:
在多项目 Gradle 环境中,我的父级 build.gradle 中有通常的 buildscript 块:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.7.RELEASE")
}
}
但是,应该是“祝福”的依赖项(请参阅54.2 Declaring dependencies without versions)似乎不是,因为 Gradle 不会搜索正确的版本(因为根本没有版本)。我想知道我是否遗漏了一些额外的配置,或者目前无法为多项目 Gradle 环境提供“有福的”依赖项。
【问题讨论】:
标签: gradle spring-boot