mirror of
https://gitee.com/dcren/initializr.git
synced 2025-11-08 18:34:58 +08:00
Upgrade dependency-management-plugin to 0.5.4.RELEASE
This commit is contained in:
@@ -9,7 +9,7 @@ buildscript {
|
||||
}
|
||||
dependencies {
|
||||
classpath("org.springframework.boot:spring-boot-gradle-plugin:\${springBootVersion}") <% if (!bootOneThreeAvailable) { %>
|
||||
classpath('io.spring.gradle:dependency-management-plugin:0.5.2.RELEASE')<% } %>
|
||||
classpath('io.spring.gradle:dependency-management-plugin:0.5.4.RELEASE')<% } %>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -316,7 +316,7 @@ class ProjectGeneratorTests {
|
||||
request.bootVersion = '1.2.3.RELEASE'
|
||||
generateGradleBuild(request)
|
||||
.contains("springBootVersion = '1.2.3.RELEASE'")
|
||||
.contains("classpath('io.spring.gradle:dependency-management-plugin:0.5.2.RELEASE')")
|
||||
.contains("classpath('io.spring.gradle:dependency-management-plugin:0.5.4.RELEASE')")
|
||||
.contains("apply plugin: 'spring-boot'")
|
||||
.contains("apply plugin: 'io.spring.dependency-management'")
|
||||
}
|
||||
@@ -328,7 +328,7 @@ class ProjectGeneratorTests {
|
||||
generateGradleBuild(request)
|
||||
.contains("springBootVersion = '1.3.0.BUILD-SNAPSHOT'")
|
||||
.contains("apply plugin: 'spring-boot'")
|
||||
.doesNotContain("classpath('io.spring.gradle:dependency-management-plugin:0.5.2.RELEASE')")
|
||||
.doesNotContain("classpath('io.spring.gradle:dependency-management-plugin:0.5.4.RELEASE')")
|
||||
.doesNotContain("apply plugin: 'io.spring.dependency-management'")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user