mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-14 08:02:22 +00:00
SEC-2579: Polish so that platformVersion has a default
This commit is contained in:
parent
f37e414442
commit
ae39a4dcdd
17
build.gradle
17
build.gradle
@ -101,17 +101,16 @@ configure(javaProjects) {
|
|||||||
configure(coreModuleProjects) {
|
configure(coreModuleProjects) {
|
||||||
apply plugin: 'bundlor'
|
apply plugin: 'bundlor'
|
||||||
apply plugin: 'emma'
|
apply plugin: 'emma'
|
||||||
|
apply plugin: 'spring-io'
|
||||||
if (project.hasProperty('platformVersion')) {
|
|
||||||
apply plugin: 'spring-io'
|
|
||||||
|
|
||||||
repositories {
|
ext.springIoVersion = project.hasProperty('platformVersion') ? platformVersion : '1.0.0.BUILD-SNAPSHOT'
|
||||||
maven { url "https://repo.spring.io/libs-snapshot" }
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
repositories {
|
||||||
springIoVersions "io.spring.platform:platform-versions:${platformVersion}@properties"
|
maven { url "https://repo.spring.io/libs-snapshot" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
springIoVersions "io.spring.platform:platform-versions:${springIoVersion}@properties"
|
||||||
}
|
}
|
||||||
|
|
||||||
bundlor.doFirst {
|
bundlor.doFirst {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user