-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
34 lines (31 loc) · 1.1 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 = "tj-spring-boilerplate"
include(
"core-api",
"domain",
"storage",
":common:profile",
"modules:pagination",
"modules:local-cache",
"modules:lock",
"storage:rdb",
"storage:redis",
)
pluginManagement {
val springBootVersion: String by settings
val ktlintVersion: String by settings
val springDependencyManagementVersion: String by settings
val kotlinVersion: String by settings
resolutionStrategy {
eachPlugin {
when (requested.id.id) {
"org.springframework.boot" -> useVersion(springBootVersion)
"io.spring.dependency-management" -> useVersion(springDependencyManagementVersion)
"org.jlleitschuh.gradle.ktlint" -> useVersion(ktlintVersion)
"org.jetbrains.kotlin.plugin.jpa" -> useVersion(kotlinVersion)
"org.jetbrains.kotlin.jvm" -> useVersion(kotlinVersion)
"org.jetbrains.kotlin.kapt" -> useVersion(kotlinVersion)
"org.jetbrains.kotlin.plugin.spring" -> useVersion(kotlinVersion)
}
}
}
}