mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-21 02:58:08 +08:00
Upgrade to dependency-management-plugin 0.6.0.RELEASE
Closes gh-242
This commit is contained in:
@@ -10,7 +10,7 @@ buildscript {
|
||||
}
|
||||
dependencies {
|
||||
classpath("org.springframework.boot:spring-boot-gradle-plugin:\${springBootVersion}") <% if (!bootOneThreeAvailable) { %>
|
||||
classpath('io.spring.gradle:dependency-management-plugin:0.5.6.RELEASE')<% } %><% if (language=='kotlin') { %>
|
||||
classpath('io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE')<% } %><% if (language=='kotlin') { %>
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:\${kotlinVersion}")<% } %>
|
||||
}
|
||||
}
|
||||
|
@@ -355,7 +355,7 @@ class ProjectGeneratorTests extends AbstractProjectGeneratorTests {
|
||||
request.bootVersion = '1.2.3.RELEASE'
|
||||
generateGradleBuild(request)
|
||||
.contains("springBootVersion = '1.2.3.RELEASE'")
|
||||
.contains("classpath('io.spring.gradle:dependency-management-plugin:0.5.6.RELEASE')")
|
||||
.contains("classpath('io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE')")
|
||||
.contains("apply plugin: 'spring-boot'")
|
||||
.contains("apply plugin: 'io.spring.dependency-management'")
|
||||
}
|
||||
@@ -367,7 +367,7 @@ class ProjectGeneratorTests extends AbstractProjectGeneratorTests {
|
||||
generateGradleBuild(request)
|
||||
.contains("springBootVersion = '1.3.0.BUILD-SNAPSHOT'")
|
||||
.contains("apply plugin: 'spring-boot'")
|
||||
.doesNotContain("classpath('io.spring.gradle:dependency-management-plugin:0.5.6.RELEASE')")
|
||||
.doesNotContain("classpath('io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE')")
|
||||
.doesNotContain("apply plugin: 'io.spring.dependency-management'")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user