SEC-2579: Polish so that platformVersion has a default

This commit is contained in:
Rob Winch 2014-05-19 15:30:07 -05:00
parent f37e414442
commit ae39a4dcdd

View File

@ -101,17 +101,16 @@ configure(javaProjects) {
configure(coreModuleProjects) { configure(coreModuleProjects) {
apply plugin: 'bundlor' apply plugin: 'bundlor'
apply plugin: 'emma' apply plugin: 'emma'
if (project.hasProperty('platformVersion')) {
apply plugin: 'spring-io' apply plugin: 'spring-io'
ext.springIoVersion = project.hasProperty('platformVersion') ? platformVersion : '1.0.0.BUILD-SNAPSHOT'
repositories { repositories {
maven { url "https://repo.spring.io/libs-snapshot" } maven { url "https://repo.spring.io/libs-snapshot" }
} }
dependencies { dependencies {
springIoVersions "io.spring.platform:platform-versions:${platformVersion}@properties" springIoVersions "io.spring.platform:platform-versions:${springIoVersion}@properties"
}
} }
bundlor.doFirst { bundlor.doFirst {