2020-01-10 21:48:43 +08:00
|
|
|
plugins {
|
2021-12-01 22:38:25 +08:00
|
|
|
id "base"
|
2020-01-23 03:24:37 +08:00
|
|
|
id "org.jetbrains.kotlin.jvm" apply false // https://youtrack.jetbrains.com/issue/KT-30276
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
|
|
|
|
2020-01-23 03:24:37 +08:00
|
|
|
description = "Spring Boot Build"
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2020-04-15 07:35:09 +08:00
|
|
|
defaultTasks 'build'
|
|
|
|
|
2020-01-10 21:48:43 +08:00
|
|
|
allprojects {
|
2020-01-23 03:24:37 +08:00
|
|
|
group "org.springframework.boot"
|
2020-01-10 21:48:43 +08:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2020-07-22 21:31:37 +08:00
|
|
|
if (version.contains('-')) {
|
2020-01-23 19:55:42 +08:00
|
|
|
maven { url "https://repo.spring.io/milestone" }
|
|
|
|
}
|
2020-06-15 16:19:09 +08:00
|
|
|
if (version.endsWith('-SNAPSHOT')) {
|
2020-07-30 00:36:11 +08:00
|
|
|
maven { url "https://repo.spring.io/snapshot" }
|
2020-01-23 19:55:42 +08:00
|
|
|
}
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
configurations.all {
|
2020-08-04 22:36:01 +08:00
|
|
|
resolutionStrategy.cacheChangingModulesFor 0, "minutes"
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
|
|
|
}
|