mirror of
https://github.com/AlmostReliable/almostunified.git
synced 2024-11-14 19:25:13 -05:00
29 lines
895 B
Text
29 lines
895 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"
|
|
}
|
|
}
|
|
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 = "UniTagged"
|
|
include("Common", "Fabric", "Forge")
|