forked from Jboymercs/nether_backport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
33 lines (33 loc) · 1.15 KB
/
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
pluginManagement {
/**
* These are the repositories used by the plugins at the top of the build.gradle file. The gradlePluginPortal
* repository is commented out since it is used by the Shadow plugin, so you can remove it if that is not being
* used or uncomment it if you are using Shadow or another plugin that needs it.
*/
repositories {
//gradlePluginPortal()
maven {
name 'MinecraftForge'
url 'https://maven.minecraftforge.net/'
}
maven {
name 'Garden of Fancy'
url 'https://maven.gofancy.wtf/releases'
}
maven {
name 'Sponge'
url 'https://repo.spongepowered.org/repository/maven-public/'
}
}
/**
* This is actually the same thing that forge does in later versions since otherwise gradle complains about
* mixingradle not having the proper plugin naming scheme.
*/
resolutionStrategy {
eachPlugin {
if (requested.id.toString() == 'org.spongepowered.mixin') {
useModule("org.spongepowered:mixingradle:${requested.version}")
}
}
}
}