-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.gradle.kts
64 lines (53 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
pluginManagement {
includeBuild("build-logic")
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
rootProject.name = "box"
val boxPrefix = rootProject.name
sequenceOf(
"api",
"core",
"annotation-processor",
"data-generator",
"test-shared-classes"
).forEach {
include("$boxPrefix-$it")
project(":$boxPrefix-$it").projectDir = file(it)
}
val storagePrefix = "$boxPrefix-storage"
// storage
sequenceOf(
"api",
// implementations
"database",
"yaml"
).forEach {
include(":$storagePrefix-$it")
project(":$storagePrefix-$it").projectDir = file("./storage/$it")
}
val featureSuffix = "feature"
// features
sequenceOf(
"autostore",
"bemode",
"category",
"command",
"craft",
"gui",
"notifier",
"stick"
).forEach {
include("$boxPrefix-$it-$featureSuffix")
project(":$boxPrefix-$it-$featureSuffix").projectDir = file("./features/$it")
}
val versionSuffix = "version"
// versions
sequenceOf(
"common",
"paper-1_21_2"
).forEach {
include("$boxPrefix-$versionSuffix-$it")
project(":$boxPrefix-$versionSuffix-$it").projectDir = file("./versions/$it")
}
include("$boxPrefix-bundle")
project(":$boxPrefix-bundle").projectDir = file("bundle")