forked from ThatGravyBoat/Craftify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
38 lines (34 loc) · 912 Bytes
/
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
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
maven("https://maven.fabricmc.net")
maven("https://maven.architectury.dev/")
maven("https://maven.minecraftforge.net")
maven("https://repo.essential.gg/repository/maven-public")
}
plugins {
val egtVersion = "0.2.1"
id("gg.essential.multi-version.root") version egtVersion
}
}
val mod_name: String by settings
rootProject.name = mod_name
rootProject.buildFileName = "root.gradle.kts"
listOf(
"1.8.9-forge",
"1.12.2-forge",
"1.17.1-forge",
"1.17.1-fabric",
"1.18.1-fabric",
"1.19-fabric",
"1.19.3-fabric",
"1.19.4-fabric",
"1.20.1-fabric",
).forEach { version ->
include(":$version")
project(":$version").apply {
projectDir = file("versions/$version")
buildFileName = "../../build.gradle.kts"
}
}