forked from NotEnoughCoins/NotEnoughCoins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
30 lines (27 loc) · 894 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
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
// Add the Forge Repository (ForgeGradle fetches most of its stuff from here)
maven {
name = "Forge"
url = "https://maven.minecraftforge.net"
}
// Add the Jitpack Repository (We fetch ForgeGradle from this)
maven {
name = "Jitpack"
url = "https://jitpack.io/"
}
}
resolutionStrategy {
eachPlugin {
// If the "net.minecraftforge.gradle.forge" plugin is requested we redirect it to asbyth's ForgeGradle fork
switch (requested.id.id) {
case 'net.minecraftforge.gradle.forge':
useModule "com.github.asbyth:ForgeGradle:${requested.version}"
break
}
}
}
}
rootProject.name = "NotEnoughCoins"