Update Gradle builds to use dependency managagement plugin 0.5.1.RELEASE

This commit is contained in:
Andy Wilkinson
2015-05-11 16:49:03 +01:00
parent 1dfade6890
commit 9462315281
2 changed files with 3 additions and 3 deletions

View File

@@ -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.0.RELEASE")<% } %>
classpath("io.spring.gradle:dependency-management-plugin:0.5.1.RELEASE")<% } %>
}
}

View File

@@ -308,7 +308,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.0.RELEASE")')
.contains('classpath("io.spring.gradle:dependency-management-plugin:0.5.1.RELEASE")')
.contains("apply plugin: 'spring-boot'")
.contains("apply plugin: 'io.spring.dependency-management'")
}
@@ -320,7 +320,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.0.RELEASE")')
.doesNotContain('classpath("io.spring.gradle:dependency-management-plugin:0.5.1.RELEASE")')
.doesNotContain("apply plugin: 'io.spring.dependency-management'")
}