File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ buildscript {
55 dependencies {
66 classpath ' org.springframework.build.gradle:propdeps-plugin:0.0.6'
77 classpath ' org.springframework.build.gradle:docbook-reference-plugin:0.2.7'
8+ classpath ' org.springframework.build.gradle:spring-io-plugin:0.0.3.RELEASE'
89 }
910}
1011
@@ -42,7 +43,7 @@ configure(allprojects) {
4243
4344 sourceSets. test. resources. srcDirs = [' src/test/resources' , ' src/test/java' ]
4445
45- test {
46+ tasks . withType( Test ) . all {
4647 systemProperty(" java.awt.headless" , " true" )
4748 systemProperty(" testGroups" , project. properties. get(" testGroups" ))
4849 scanForTestClasses = false
@@ -79,6 +80,18 @@ configure(subprojects) { subproject ->
7980 apply plugin : " maven"
8081 apply from : " ${ rootProject.projectDir} /publish-maven.gradle"
8182
83+ if (project. hasProperty(' platformVersion' )) {
84+ apply plugin : ' spring-io'
85+
86+ repositories {
87+ maven { url " https://repo.spring.io/libs-snapshot" }
88+ }
89+
90+ dependencies {
91+ springIoVersions " io.spring.platform:platform-versions:${ platformVersion} @properties"
92+ }
93+ }
94+
8295 jar {
8396 manifest. attributes[" Created-By" ] =
8497 " ${ System.getProperty("java.version")} (${ System.getProperty("java.specification.vendor")} )"
You can’t perform that action at this time.
0 commit comments