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.
This commit is contained in:
Andy Wilkinson
2015-07-08 14:08:28 +01:00
committed by Rob Winch
parent f5bb381191
commit 141aba9526
3 changed files with 16 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ buildscript {
dependencies {
classpath("org.gradle.api.plugins:gradle-tomcat-plugin:1.2.3")
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('me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1')
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.2'
}

View File

@@ -10,6 +10,12 @@ dependencies {
"org.springframework.data:spring-data-redis:$springDataRedisVersion",
"redis.clients:jedis:$jedisVersion",
"org.apache.commons:commons-pool2:$commonsPoolVersion"
}
springIoVersions "io.spring.platform:platform-versions:${springIoVersion}@properties"
dependencyManagement {
springIoTestRuntime {
imports {
mavenBom "io.spring.platform:platform-bom:${springIoVersion}"
}
}
}

View File

@@ -32,7 +32,14 @@ dependencies {
jacoco "org.jacoco:org.jacoco.agent:0.7.2.201409121644:runtime"
springIoVersions "io.spring.platform:platform-versions:${springIoVersion}@properties"
}
dependencyManagement {
springIoTestRuntime {
imports {
mavenBom "io.spring.platform:platform-bom:${springIoVersion}"
}
}
}
ext.javadocLinks = [