almostunified/settings.gradle.kts

33 lines
991 B
Text
Raw Normal View History

2022-05-31 10:50:46 -04:00
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"
}
2022-05-31 12:41:30 -04:00
maven("https://maven.parchmentmc.org") {
name = "ParchmentMC"
}
2022-05-31 10:50:46 -04:00
}
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"
2022-05-31 10:50:46 -04:00
include("Common", "Fabric", "Forge")