-
Notifications
You must be signed in to change notification settings - Fork 4
/
settings.gradle.kts
51 lines (47 loc) · 1.34 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
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://oss.sonatype.org/content/repositories/snapshots")
maven("https://maven.architectury.dev/")
maven("https://maven.fabricmc.net")
maven("https://maven.minecraftforge.net/")
maven("https://repo.spongepowered.org/maven/")
maven("https://repo.sk1er.club/repository/maven-releases/")
}
resolutionStrategy {
eachPlugin {
when (requested.id.id) {
"gg.essential.loom" -> useModule("gg.essential:architectury-loom:${requested.version}")
}
}
}
}
rootProject.name = "CheatBreakerX"
val supportedForgeVersions = listOf(
"1.8.9",
"1.9.4",
"1.10.2",
"1.11.2",
"1.12.2",
//"1.14.4", // mixins are being a pain
"1.14.4-Fabric",
"1.15.2-Fabric",
"1.16.5-Fabric",
"1.17.1-Fabric",
"1.18.2-Fabric",
"1.19.4-Fabric",
"1.20.6-Fabric"
)
include(":core")
project(":core").apply {
projectDir = file("core")
buildFileName = "build.gradle.kts"
}
supportedForgeVersions.forEach { version ->
include(":versions:$version")
project(":versions:$version").apply {
projectDir = file("versions/$version")
buildFileName = "build.gradle.kts"
}
}