diff --git a/build.gradle b/build.gradle index 6e94333e34..b82cf05ede 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { dependencies { classpath("org.springframework.build.gradle:propdeps-plugin:0.0.6") classpath("org.springframework.build.gradle:bundlor-plugin:0.1.2") - classpath("org.springframework.build.gradle:springio-platform-plugin:0.0.2.RELEASE") + classpath("org.springframework.build.gradle:spring-io-plugin:0.0.3.RELEASE") classpath("org.gradle.api.plugins:gradle-tomcat-plugin:0.9.8") classpath('me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1') classpath('org.asciidoctor:asciidoctor-gradle-plugin:0.7.0') @@ -101,7 +101,18 @@ configure(javaProjects) { configure(coreModuleProjects) { apply plugin: 'bundlor' apply plugin: 'emma' - apply plugin: 'springio-platform' + + 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" + } + } bundlor.doFirst { def templateText = file("template.mf").text