generated from minecraft-cursed-legacy/Example-Mod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
27 lines (27 loc) · 841 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
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
maven {
name 'Fabric'
url 'https://maven.fabricmc.net/'
}
maven {
name 'Jitpack'
url 'https://jitpack.io/'
}
}
resolutionStrategy {
eachPlugin {
if (
requested.id.id == "fabric-loom" && !requested.version?.endsWith("-SNAPSHOT")) {
if (
requested.id.id == "fabric-loom" && !requested.version?.contains("+")) {
useModule("com.github.Chocohead.Fabric-Loom:fabric-loom:${requested.version}")
} else if (requested.id.id == "fabric-loom") {
useModule("net.fabricmc:fabric-loom:${requested.version}")
}
}
}
}
}