-
Notifications
You must be signed in to change notification settings - Fork 54
/
settings.gradle.kts
34 lines (31 loc) · 1.22 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
rootProject.name = "spring-boot-kotlin-template"
include(
"core:core-enum",
"core:core-api",
"storage:db-core",
"tests:api-docs",
"support:logging",
"support:monitoring",
"clients:client-example"
)
pluginManagement {
val kotlinVersion: String by settings
val springBootVersion: String by settings
val springDependencyManagementVersion: String by settings
val asciidoctorConvertVersion: String by settings
val ktlintVersion: String by settings
resolutionStrategy {
eachPlugin {
when (requested.id.id) {
"org.jetbrains.kotlin.jvm" -> useVersion(kotlinVersion)
"org.jetbrains.kotlin.kapt" -> useVersion(kotlinVersion)
"org.jetbrains.kotlin.plugin.spring" -> useVersion(kotlinVersion)
"org.jetbrains.kotlin.plugin.jpa" -> useVersion(kotlinVersion)
"org.springframework.boot" -> useVersion(springBootVersion)
"io.spring.dependency-management" -> useVersion(springDependencyManagementVersion)
"org.asciidoctor.jvm.convert" -> useVersion(asciidoctorConvertVersion)
"org.jlleitschuh.gradle.ktlint" -> useVersion(ktlintVersion)
}
}
}
}