-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
44 lines (42 loc) · 1.35 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
34
35
36
37
38
39
40
41
42
43
pluginManagement {
plugins {
id 'net.minecraftforge.gradle' version '5.1.+' apply false
id 'fabric-loom' version '0.12-SNAPSHOT' apply false
id 'org.spongepowered.gradle.vanilla' version '0.2.1-SNAPSHOT' apply false
id 'org.spongepowered.mixin' version '0.7-SNAPSHOT' apply false
}
repositories {
gradlePluginPortal()
maven {
name 'MinecraftForge'
url 'https://maven.minecraftforge.net/'
}
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven {
name = 'Sponge Snapshots'
url = 'https://repo.spongepowered.org/repository/maven-public/'
}
}
resolutionStrategy {
eachPlugin {
var version = target.version
switch (requested.id.toString()) {
case "net.minecraftforge.gradle": {
useVersion(version)
useModule("${requested.id}:ForgeGradle:${version}")
break
}
case "org.spongepowered.mixin": {
useVersion(version)
useModule("org.spongepowered:mixingradle:${version}")
break
}
}
}
}
}
rootProject.name = 'MultiblockLib'
include("Xplat", "Forge", "Fabric")