-
Notifications
You must be signed in to change notification settings - Fork 20
/
settings.gradle.kts
118 lines (108 loc) · 3.08 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/*
* Copyright (c) 2024 ModCore Inc. All rights reserved.
*
* This code is part of ModCore Inc.'s Essential Mod repository and is protected
* under copyright registration # TX0009138511. For the full license, see:
* https://github.com/EssentialGG/Essential/blob/main/LICENSE
*
* You may not use, copy, reproduce, modify, sell, license, distribute,
* commercialize, or otherwise exploit, or create derivative works based
* upon, this file or any other in this repository, all of which is reserved by Essential.
*/
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
maven("https://maven.fabricmc.net")
maven("https://maven.architectury.dev/")
maven("https://repo.essential.gg/repository/maven-public")
maven("https://maven.minecraftforge.net")
}
}
includeBuild("build-logic")
if (!System.getenv().containsKey("NO_GIT_SUBMODULES")) {
includeBuild("loader") {
dependencySubstitution {
for (variant in listOf("fabric", "launchwrapper", "modlauncher8", "modlauncher9")) {
substitute(module("gg.essential.loader:container-$variant")).using(project(":container:$variant"))
substitute(module("gg.essential.loader:stage2-$variant")).using(project(":stage2:$variant"))
}
}
}
}
rootProject.name = "Essential"
rootProject.buildFileName = "root.gradle.kts"
include(":elementa:statev2")
include(":elementa:layoutdsl")
include(":gui:elementa")
include(":gui:essential")
include(":gui:vigilance")
include(":api")
project(":api").buildFileName = "root.gradle.kts"
val subprojects = listOf(
// Please keep these sorted in alphabetical order, thank you.
":classloaders",
":clipboard",
":cosmetics",
":feature-flags",
":ice",
":immediatelyfast",
":infra",
":kdiscordipc",
":libs",
":lwjgl3",
":lwjgl3:impl",
":mixin-compat",
":plasmo",
":quic-connector",
":slf4j-to-log4j",
":utils",
":vigilance2",
)
for (fullName in subprojects) {
include(fullName)
project(fullName).projectDir = file("subprojects" + fullName.replace(':', '/'))
}
listOf(
"1.8.9-forge",
// ,"1.8.9-vanilla"
"1.12.2-forge",
// ,"1.12.2-vanilla"
// , "1.15.2",
"1.16.2-forge",
"1.16.2-fabric",
"1.17.1-fabric",
"1.17.1-forge",
"1.18.1-fabric",
"1.18.2-fabric",
"1.18.2-forge",
"1.19-fabric",
"1.19.2-fabric",
"1.19.2-forge",
"1.19.3-fabric",
"1.19.3-forge",
"1.19.4-fabric",
"1.19.4-forge",
"1.20-fabric",
"1.20.1-fabric",
"1.20.1-forge",
"1.20.2-fabric",
"1.20.2-forge",
"1.20.4-fabric",
"1.20.4-forge",
"1.20.6-fabric",
"1.21-fabric",
"1.21.2-fabric",
"1.21.4-fabric",
).forEach { version ->
include(":$version")
project(":$version").apply {
projectDir = file("versions/$version")
buildFileName = "../../build.gradle.kts"
}
include(":api:$version")
project(":api:$version").apply {
projectDir = file("versions/api/$version")
buildFileName = "../../../api/build.gradle.kts"
}
}