forked from ReplayMod/ReplayMod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
67 lines (64 loc) · 1.42 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
jcenter()
mavenCentral()
google()
maven("https://jitpack.io")
maven("https://maven.fabricmc.net")
}
resolutionStrategy {
eachPlugin {
when (requested.id.id) {
"com.replaymod.preprocess" -> {
useModule("com.github.replaymod:preprocessor:${requested.version}")
}
}
}
}
}
val jGuiVersions = listOf(
"1.7.10",
"1.8",
"1.8.9",
"1.9.4",
"1.12",
"1.14.4-forge",
"1.14.4",
"1.15.2"
)
val replayModVersions = listOf(
"1.7.10",
"1.8",
"1.8.9",
"1.9.4",
"1.10.2",
"1.11",
"1.11.2",
"1.12",
"1.12.1",
"1.12.2",
"1.14.4-forge",
"1.14.4",
"1.15.2"
)
include(":jGui")
project(":jGui").apply {
projectDir = file("jGui")
buildFileName = "preprocess.gradle.kts"
}
jGuiVersions.forEach { version ->
include(":jGui:$version")
project(":jGui:$version").apply {
projectDir = file("jGui/versions/$version")
buildFileName = "../common.gradle"
}
}
replayModVersions.forEach { version ->
include(":$version")
project(":$version").apply {
projectDir = file("versions/$version")
buildFileName = "../common.gradle"
}
}