From 86e1ca6f8c15c5af0fc401758b2bec5b437336a5 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 8 Jul 2015 10:22:07 +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 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 66503fc77..fbdc5d0ec 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ buildscript { dependencies { classpath 'org.springframework.build.gradle:docbook-reference-plugin:0.2.8' classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.5' - classpath 'org.springframework.build.gradle:spring-io-plugin:0.0.3.RELEASE' + classpath 'io.spring.gradle:spring-io-plugin:0.0.4.RELEASE' } } @@ -219,8 +219,12 @@ configure(mainProjects) { 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}" + } + } } } } @@ -271,7 +275,7 @@ project('spring-batch-infrastructure') { // permsize settings not passed down from GRADLE_OPTS nor JAVA_OPTS // when running certain tests causing permgen OOM when using JDK7 // compilation is not performed with JDK6 and permgen is removed - // starting with JDK8.. + // starting with JDK8.. if (JavaVersion.current().isJava7Compatible()) { jvmArgs '-XX:MaxPermSize=256m' }