-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle.kts
51 lines (46 loc) · 1.97 KB
/
build.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
plugins {
id("io.github.gaming32.gradle.preprocess-root") version "0.4.4"
id("dev.architectury.loom") version "1.9.420" apply false
id("com.modrinth.minotaur") version "2.8.7" apply false
id("xyz.wagyourtail.jvmdowngrader") version "1.2.1" apply false
}
repositories {
mavenCentral()
}
preprocess {
fun createNode(project: String, mcVersion: Int) = createNode(project, mcVersion, "yarn")
val fabric12104 = createNode("1.21.4-fabric", 1_21_04)
val neoforge12104 = createNode("1.21.4-neoforge", 1_21_04)
val fabric12103 = createNode("1.21.3-fabric", 1_21_03)
val neoforge12103 = createNode("1.21.3-neoforge", 1_21_03)
val fabric12101 = createNode("1.21.1-fabric", 1_21_01)
val neoforge12101 = createNode("1.21.1-neoforge", 1_21_01)
val fabric12006 = createNode("1.20.6-fabric", 1_20_06)
val neoforge12006 = createNode("1.20.6-neoforge", 1_20_06)
val fabric12004 = createNode("1.20.4-fabric", 1_20_04)
val neoforge12004 = createNode("1.20.4-neoforge", 1_20_04)
val fabric12001 = createNode("1.20.1-fabric", 1_20_01, "yarn")
val forge12001 = createNode("1.20.1-forge", 1_20_01, "srg")
val fabric11904 = createNode("1.19.4-fabric", 1_19_04, "yarn")
val forge11904 = createNode("1.19.4-forge", 1_19_04, "srg")
val fabric11902 = createNode("1.19.2-fabric", 1_19_02, "yarn")
val forge11902 = createNode("1.19.2-forge", 1_19_02, "srg")
fabric12104.link(neoforge12104)
neoforge12104.link(neoforge12103)
neoforge12103.link(fabric12103)
fabric12103.link(fabric12101)
fabric12101.link(neoforge12101)
neoforge12101.link(neoforge12006)
neoforge12006.link(fabric12006)
fabric12006.link(fabric12004)
fabric12004.link(neoforge12004)
neoforge12004.link(forge12001)
forge12001.link(fabric12001)
fabric12001.link(fabric11904)
fabric11904.link(forge11904)
forge11904.link(forge11902)
forge11902.link(fabric11902)
}
subprojects {
extra["loom.platform"] = name.substringAfter('-')
}