Merge pull request #21 from wilkinsona/spring-io-plugin

Add the Spring IO plugin
This commit is contained in:
Arjen Poutsma
2014-05-14 14:48:51 +02:00

View File

@@ -5,6 +5,7 @@ buildscript {
dependencies {
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.6'
classpath 'org.springframework.build.gradle:docbook-reference-plugin:0.2.7'
classpath 'org.springframework.build.gradle:spring-io-plugin:0.0.3.RELEASE'
}
}
@@ -42,7 +43,7 @@ configure(allprojects) {
sourceSets.test.resources.srcDirs = ['src/test/resources', 'src/test/java']
test {
tasks.withType(Test).all {
systemProperty("java.awt.headless", "true")
systemProperty("testGroups", project.properties.get("testGroups"))
scanForTestClasses = false
@@ -79,6 +80,18 @@ configure(subprojects) { subproject ->
apply plugin: "maven"
apply from: "${rootProject.projectDir}/publish-maven.gradle"
if (project.hasProperty('platformVersion')) {
apply plugin: 'spring-io'
repositories {
maven { url "https://repo.spring.io/libs-snapshot" }
}
dependencies {
springIoVersions "io.spring.platform:platform-versions:${platformVersion}@properties"
}
}
jar {
manifest.attributes["Created-By"] =
"${System.getProperty("java.version")} (${System.getProperty("java.specification.vendor")})"