Quellcode durchsuchen

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.
Andy Wilkinson vor 10 Jahren
Ursprung
Commit
350b48e3fd
1 geänderte Dateien mit 8 neuen und 2 gelöschten Zeilen
  1. 8 2
      build.gradle

+ 8 - 2
build.gradle

@@ -6,7 +6,7 @@ buildscript {
 	}
 	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("org.gradle.api.plugins:gradle-tomcat-plugin:1.2.5")
 		classpath('me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.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
 	}
 
+	dependencyManagement {
+		springIoTestRuntime {
+			imports {
+				mavenBom "io.spring.platform:platform-bom:${springIoVersion}"
+			}
+		}
+	}
 	dependencies {
-		springIoVersions "io.spring.platform:platform-versions:${springIoVersion}@properties"
 		jacoco "org.jacoco:org.jacoco.agent:0.6.2.201302030002:runtime"
 	}
 	test {