mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-20 10:38:12 +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 {
|
dependencies {
|
||||||
classpath("org.springframework.boot:spring-boot-gradle-plugin:\${springBootVersion}") <% if (!bootOneThreeAvailable) { %>
|
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}")<% } %>
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:\${kotlinVersion}")<% } %>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -355,7 +355,7 @@ class ProjectGeneratorTests extends AbstractProjectGeneratorTests {
|
|||||||
request.bootVersion = '1.2.3.RELEASE'
|
request.bootVersion = '1.2.3.RELEASE'
|
||||||
generateGradleBuild(request)
|
generateGradleBuild(request)
|
||||||
.contains("springBootVersion = '1.2.3.RELEASE'")
|
.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: 'spring-boot'")
|
||||||
.contains("apply plugin: 'io.spring.dependency-management'")
|
.contains("apply plugin: 'io.spring.dependency-management'")
|
||||||
}
|
}
|
||||||
@@ -367,7 +367,7 @@ class ProjectGeneratorTests extends AbstractProjectGeneratorTests {
|
|||||||
generateGradleBuild(request)
|
generateGradleBuild(request)
|
||||||
.contains("springBootVersion = '1.3.0.BUILD-SNAPSHOT'")
|
.contains("springBootVersion = '1.3.0.BUILD-SNAPSHOT'")
|
||||||
.contains("apply plugin: 'spring-boot'")
|
.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'")
|
.doesNotContain("apply plugin: 'io.spring.dependency-management'")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user