-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
39 lines (32 loc) · 952 Bytes
/
settings.gradle
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
pluginManagement {
repositories {
maven { url("https://jitpack.io") }
maven { url("https://maven.fabricmc.net") }
gradlePluginPortal()
mavenCentral()
mavenLocal()
}
resolutionStrategy {
eachPlugin {
switch (requested.id.id) {
case "com.replaymod.preprocess":
case "com.replaymod.preprocess-root": {
useModule("com.github.replaymod:preprocessor:${requested.version}")
}
}
}
}
}
rootProject.name = projectName
include(":launcher-entrypoint")
include(":launcher")
include(":1.18.1")
include(":api")
project(":api").buildFileName = "root.gradle"
def versions = Arrays.asList("1.18")
for (String version : versions) {
include(":api:$version")
def proj = project(":api:$version")
proj.projectDir = file("api/versions/$version")
proj.buildFileName = "../../build.gradle"
}