From d84643bf2caf16b5ef7fb2c685f03c27231d4e5d Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 8 Jul 2015 11:36:00 +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 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index b91294f..c89978e 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,10 @@ buildscript { - repositories { + repositories { maven { url "https://repo.spring.io/plugins-release" } } 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") } @@ -36,8 +36,12 @@ configure(allprojects) { 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}" + } + } } } @@ -151,7 +155,7 @@ configure(subprojects) { subproject -> archives javadocJar } - configurations { + configurations { springReleaseTestRuntime.extendsFrom testRuntime springSnapshotTestRuntime.extendsFrom testRuntime }