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 11:39:09 +01:00 committed by Rob Winch
parent 197ddb3cd1
commit 350b48e3fd
1 changed files with 8 additions and 2 deletions

View File

@ -6,7 +6,7 @@ buildscript {
} }
dependencies { dependencies {
classpath("org.springframework.build.gradle:propdeps-plugin:0.0.7") 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("org.gradle.api.plugins:gradle-tomcat-plugin:1.2.5")
classpath('me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1') classpath('me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1')
classpath('org.asciidoctor:asciidoctor-gradle-plugin:1.5.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 jacoco //Configuration Group used by Sonar to provide Code Coverage using JaCoCo
} }
dependencyManagement {
springIoTestRuntime {
imports {
mavenBom "io.spring.platform:platform-bom:${springIoVersion}"
}
}
}
dependencies { dependencies {
springIoVersions "io.spring.platform:platform-versions:${springIoVersion}@properties"
jacoco "org.jacoco:org.jacoco.agent:0.6.2.201302030002:runtime" jacoco "org.jacoco:org.jacoco.agent:0.6.2.201302030002:runtime"
} }
test { test {