mirror of
https://github.com/AlmostReliable/almostunified.git
synced 2024-11-24 00:28:04 -05:00
32 lines
991 B
Text
32 lines
991 B
Text
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
maven("https://maven.fabricmc.net/") {
|
|
name = "Fabric"
|
|
}
|
|
maven("https://repo.spongepowered.org/repository/maven-public/") {
|
|
name = "Sponge Snapshots"
|
|
}
|
|
maven("https://maven.minecraftforge.net") {
|
|
name = "Forge"
|
|
}
|
|
maven("https://maven.parchmentmc.org") {
|
|
name = "ParchmentMC"
|
|
}
|
|
}
|
|
resolutionStrategy {
|
|
eachPlugin {
|
|
// If we request Forge, actually give it the correct artifact.
|
|
if (requested.id.id == "net.minecraftforge.gradle") {
|
|
useModule("${requested.id}:ForgeGradle:${requested.version}")
|
|
}
|
|
|
|
if (requested.id.id == "org.spongepowered.mixin") {
|
|
useModule("org.spongepowered:mixingradle:${requested.version}")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
rootProject.name = "AlmostUnified"
|
|
include("Common", "Fabric", "Forge")
|