Add the Spring IO plugin to the build

This commit is contained in:
Andy Wilkinson
2015-10-07 09:47:21 +01:00
parent 6443ed177e
commit 0213c9e6fd

View File

@@ -6,6 +6,7 @@ buildscript {
dependencies {
classpath 'io.spring.gradle:dependency-management-plugin:0.5.3.RELEASE'
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
classpath 'io.spring.gradle:spring-io-plugin:0.0.4.RELEASE'
}
}
@@ -51,6 +52,22 @@ subprojects {
sourceCompatibility = 1.7
targetCompatibility = 1.7
if (project.hasProperty('platformVersion')) {
apply plugin: 'spring-io'
repositories {
maven { url "https://repo.spring.io/libs-snapshot" }
}
dependencyManagement {
springIoTestRuntime {
imports {
mavenBom "io.spring.platform:platform-bom:${platformVersion}"
}
}
}
}
dependencyManagement {
imports {
mavenBom "org.springframework:spring-framework-bom:$springVersion"