-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
57 lines (51 loc) · 2.79 KB
/
settings.gradle.kts
File metadata and controls
57 lines (51 loc) · 2.79 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
rootProject.name = "found"
// version catalog 在7.4版本正式使用
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
// ===============================================版本=======================================================
version("spring-cloud", "2022.0.0")
version("spring-cloud-alibaba", "2022.0.0.0-RC1")
version("spring-boot", "3.0.1")
version("jupiter", "5.8.1")
version("log4j", "2.19.0")
version("slf4j", "2.0.6")
version("mybatis-plus", "3.5.3.1")
version("redisson", "3.23.0")
// ===============================================依赖=======================================================
library("spring-cloud", "org.springframework.cloud", "spring-cloud-dependencies")
.versionRef("spring-cloud")
library(
"spring-cloud-alibaba",
"com.alibaba.cloud",
"spring-cloud-alibaba-dependencies"
).versionRef("spring-cloud-alibaba")
library("spring-boot", "org.springframework.boot", "spring-boot-dependencies").versionRef("spring-boot")
library("jupiter-api", "org.junit.jupiter", "junit-jupiter-api").versionRef("jupiter")
library("jupiter-engine", "org.junit.jupiter", "junit-jupiter-engine").versionRef("jupiter")
library("log4j-core", "org.apache.logging.log4j", "log4j-core").versionRef("log4j")
library("log4j-slf4j2-impl", "org.apache.logging.log4j", "log4j-slf4j2-impl").versionRef("log4j")
library("mybatis-plus", "com.baomidou", "mybatis-plus-boot-starter").versionRef("mybatis-plus")
library("slf4j", "org.slf4j", "slf4j-api").versionRef("slf4j")
library("redisson", "org.redisson", "redisson").versionRef("redisson")
// ===============================================bundle====================================================
bundle("log4j", listOf("log4j-core", "log4j-slf4j2-impl"))
bundle("junit", listOf("jupiter-api", "jupiter-engine"))
// ===============================================插件=======================================================
plugin("spring-boot", "org.springframework.boot").versionRef("spring-boot")
plugin("dependency-management", "io.spring.dependency-management").version("1.1.0")
}
}
}
include("infra")
include("apps")
include("shared")
include("core")
include("apps:app1")
findProject(":apps:app1")?.name = "app1"
include("core:data-core")
findProject(":core:data-core")?.name = "data-core"
include("core:web-core")
findProject(":core:web-core")?.name = "web-core"
include("core:concurrent-core")
findProject(":core:concurrent-core")?.name = "concurrent-core"