forked from FalseHonesty/AsmHelper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroot.gradle.kts
22 lines (18 loc) · 994 Bytes
/
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
plugins {
kotlin("jvm") version "1.5.21" apply false
id("fabric-loom") version "0.8-SNAPSHOT" apply false
id("com.replaymod.preprocess") version "ff216cd"
}
// Loom tries to find the active mixin version by recursing up to the root project and checking each project's
// compileClasspath and build script classpath (in that order). Since we've loom in our root project's classpath,
// loom will only find it after checking the root project's compileClasspath (which doesn't exist by default).
configurations.register("compileClasspath")
preprocess {
val forge11602 = createNode("1.16.2", 11602, "srg")
val forge11502 = createNode("1.15.2", 11502, "srg")
val forge11202 = createNode("1.12.2", 11202, "srg")
val forge10809 = createNode("1.8.9", 10809, "srg")
forge11602.link(forge11502, file("versions/1.16.2-1.15.2.txt"))
forge11502.link(forge11202, file("versions/1.15.2-1.12.2.txt"))
forge11202.link(forge10809, file("versions/1.12.2-1.8.9.txt"))
}