Skip to content

Commit

Permalink
Use the latest version of the Spring IO Plugin
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wilkinsona committed Jul 8, 2015
1 parent fb48b5a commit d84643b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions build.gradle
@@ -1,10 +1,10 @@
buildscript {
repositories {
repositories {
maven { url "https://repo.spring.io/plugins-release" }
}
dependencies {
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("io.spring.gradle:docbook-reference-plugin:0.3.1")
classpath("me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1")
}
Expand Down Expand Up @@ -36,8 +36,12 @@ configure(allprojects) {
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}"
}
}
}
}

Expand Down Expand Up @@ -151,7 +155,7 @@ configure(subprojects) { subproject ->
archives javadocJar
}

configurations {
configurations {
springReleaseTestRuntime.extendsFrom testRuntime
springSnapshotTestRuntime.extendsFrom testRuntime
}
Expand Down

0 comments on commit d84643b

Please sign in to comment.