Upgrade dependency-management-plugin to 0.5.6.RELEASE

This commit is contained in:
Andy Wilkinson
2016-02-24 14:22:19 +00:00
parent d9dba0fdd8
commit 8458560449
2 changed files with 3 additions and 3 deletions

View File

@@ -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.4.RELEASE')<% } %><% if (language=='kotlin') { %>
classpath('io.spring.gradle:dependency-management-plugin:0.5.6.RELEASE')<% } %><% if (language=='kotlin') { %>
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:\${kotlinVersion}")<% } %>
}
}

View File

@@ -383,7 +383,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.4.RELEASE')")
.contains("classpath('io.spring.gradle:dependency-management-plugin:0.5.6.RELEASE')")
.contains("apply plugin: 'spring-boot'")
.contains("apply plugin: 'io.spring.dependency-management'")
}
@@ -395,7 +395,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.4.RELEASE')")
.doesNotContain("classpath('io.spring.gradle:dependency-management-plugin:0.5.6.RELEASE')")
.doesNotContain("apply plugin: 'io.spring.dependency-management'")
}