forked from isXander/Shotify
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
root.gradle.kts
38 lines (33 loc) · 1.16 KB
/
root.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
plugins {
id("dev.deftu.gradle.multiversion-root")
}
preprocess {
val fabric_1_21 = createNode("1.21-fabric", 1_21_00, "yarn")
val fabric_1_20_06 = createNode("1.20.6-fabric", 1_20_06, "yarn")
val fabric_1_20_04 = createNode("1.20.4-fabric", 1_20_04, "yarn")
val fabric_1_20_02 = createNode("1.20.2-fabric", 1_20_02, "yarn")
val fabric_1_20_01 = createNode("1.20.1-fabric", 1_20_01, "yarn")
val fabric_1_19_04 = createNode("1.19.4-fabric", 1_19_04, "yarn")
val fabric_1_19_02 = createNode("1.19.2-fabric", 1_19_02, "yarn")
val fabric_1_18_02 = createNode("1.18.2-fabric", 1_18_02, "yarn")
fabric_1_21.link(fabric_1_20_06)
fabric_1_20_06.link(fabric_1_20_04)
fabric_1_20_04.link(fabric_1_20_02)
fabric_1_20_02.link(fabric_1_20_01)
fabric_1_20_01.link(fabric_1_19_04)
fabric_1_19_04.link(fabric_1_19_02)
fabric_1_19_02.link(fabric_1_18_02)
}
val versions = listOf(
"1.18.2-fabric",
"1.19.2-fabric",
"1.19.4-fabric",
"1.20.1-fabric",
"1.20.2-fabric",
"1.20.4-fabric",
"1.20.6-fabric"
)
project.tasks.register("buildVersions") {
group = "deftu"
dependsOn(versions.map { ":$it:build" })
}