From 811427ab1a4455844184f6a8044f80132fd66fe0 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 8 Jul 2015 14:25:30 +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 1b96273c..ee1577b1 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ buildscript { } dependencies { classpath("org.springframework.build.gradle:propdeps-plugin:0.0.7") - classpath("org.springframework.build.gradle:spring-io-plugin:0.0.3.RELEASE") + classpath("io.spring.gradle:spring-io-plugin:0.0.4.RELEASE") classpath("io.spring.gradle:docbook-reference-plugin:0.3.1") classpath("me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1") } @@ -59,8 +59,12 @@ configure(subprojects.findAll { 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}" + } + } } }