Преглед на файлове

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 преди 10 години
родител
ревизия
350b48e3fd
променени са 1 файла, в които са добавени 8 реда и са изтрити 2 реда
  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 {