Use the latest version of the Spring IO Plugin

Spring IO Platform 2.0 will remove the managed versions .properties
file as support for it has been removed in Spring Boot 1.3.

This commit moves the build onto a new version of the Spring IO Plugin
that uses the Maven bom rather than the properties file.
This commit is contained in:
Andy Wilkinson
2015-07-08 15:03:51 +01:00
parent 8fee809bd2
commit 53e7c3a61d

View File

@@ -5,7 +5,7 @@ buildscript {
maven { url 'http://repo.spring.io/plugins-release' }
}
dependencies {
classpath 'org.springframework.build.gradle:spring-io-plugin:0.0.3.RELEASE'
classpath 'io.spring.gradle:spring-io-plugin:0.0.4.RELEASE'
}
}
@@ -21,8 +21,12 @@ if (project.hasProperty('platformVersion')) {
maven { url "https://repo.spring.io/libs-snapshot" }
}
dependencies {
springIoVersions "io.spring.platform:platform-versions:${platformVersion}@properties"
dependencyManagement {
springIoTestRuntime {
imports {
mavenBom "io.spring.platform:platform-bom:${platformVersion}"
}
}
}
}