Skip to content

Commit 1f900ed

Browse files
wilkinsonagaryrussell
authored andcommitted
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.
1 parent 154dbd5 commit 1f900ed

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

build.gradle

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
maven { url 'https://repo.spring.io/plugins-release' }
99
}
1010
dependencies {
11-
classpath 'org.springframework.build.gradle:spring-io-plugin:0.0.3.RELEASE'
11+
classpath 'io.spring.gradle:spring-io-plugin:0.0.4.RELEASE'
1212
classpath 'io.spring.gradle:docbook-reference-plugin:0.3.0'
1313
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.0'
1414
}
@@ -60,12 +60,15 @@ subprojects { subproject ->
6060
if (project.hasProperty('platformVersion')) {
6161
apply plugin: 'spring-io'
6262

63-
dependencies {
64-
springIoVersions "io.spring.platform:platform-bom:${platformVersion}@properties"
63+
dependencyManagement {
64+
springIoTestRuntime {
65+
imports {
66+
mavenBom "io.spring.platform:platform-bom:${platformVersion}"
67+
}
68+
}
6569
}
6670
}
6771

68-
6972
compileJava {
7073
sourceCompatibility = 1.6
7174
targetCompatibility = 1.6

0 commit comments

Comments
 (0)