From bc5616a6f42fbf11eeda0aa8763d19da62bd5538 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 8 Jul 2015 11:34:03 +0100 Subject: [PATCH] LDAP-334: Support Spring Platform 2.0 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 | 2 +- gradle/java-module.gradle | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index b69a10dc..e8d29544 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { dependencies { classpath("org.springframework.build.gradle:propdeps-plugin:0.0.7") classpath('org.asciidoctor:asciidoctor-gradle-plugin:1.5.1') - classpath("org.springframework.build.gradle:spring-io-plugin:0.0.3.RELEASE") + classpath("io.spring.gradle:spring-io-plugin:0.0.4.RELEASE") } } diff --git a/gradle/java-module.gradle b/gradle/java-module.gradle index f5d3f98d..9733e76d 100644 --- a/gradle/java-module.gradle +++ b/gradle/java-module.gradle @@ -19,7 +19,13 @@ configurations { dependencies { jacoco group: "org.jacoco", name: "org.jacoco.agent", version: "0.6.2.201302030002", classifier: "runtime" - springIoVersions "io.spring.platform:platform-versions:${springIoVersion}@properties" + dependencyManagement { + springIoTestRuntime { + imports { + mavenBom "io.spring.platform:platform-bom:${springIoVersion}" + } + } + } } test {