From 53e7c3a61da7d092693459fe825017bc94b00957 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 8 Jul 2015 15:03:51 +0100 Subject: [PATCH] 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. --- build.gradle | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index f0291c0..d6a0cca 100644 --- a/build.gradle +++ b/build.gradle @@ -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}" + } + } } }