From 350b48e3fd5d54bb7610b7d564ad17ccc4b02c31 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 8 Jul 2015 11:39:09 +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, 8 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 40bcc259ad..1521af7f2f 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,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("org.gradle.api.plugins:gradle-tomcat-plugin:1.2.5") classpath('me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1') classpath('org.asciidoctor:asciidoctor-gradle-plugin:1.5.1') @@ -105,8 +105,14 @@ configure(coreModuleProjects) { jacoco //Configuration Group used by Sonar to provide Code Coverage using JaCoCo } + dependencyManagement { + springIoTestRuntime { + imports { + mavenBom "io.spring.platform:platform-bom:${springIoVersion}" + } + } + } dependencies { - springIoVersions "io.spring.platform:platform-versions:${springIoVersion}@properties" jacoco "org.jacoco:org.jacoco.agent:0.6.2.201302030002:runtime" } test {