From 1f900edf376fbe8899d4ac3209958ff6978ae2c1 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 8 Jul 2015 10:55:05 +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 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index f1bfdf2946..ce22dafe73 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { maven { url 'https://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' classpath 'io.spring.gradle:docbook-reference-plugin:0.3.0' classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.0' } @@ -60,12 +60,15 @@ subprojects { subproject -> if (project.hasProperty('platformVersion')) { apply plugin: 'spring-io' - dependencies { - springIoVersions "io.spring.platform:platform-bom:${platformVersion}@properties" + dependencyManagement { + springIoTestRuntime { + imports { + mavenBom "io.spring.platform:platform-bom:${platformVersion}" + } + } } } - compileJava { sourceCompatibility = 1.6 targetCompatibility = 1.6