2021-09-01 01:12:30 +02:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
maven { url = "https://maven.minecraftforge.net/" }
|
|
|
|
maven { url = "https://repo.spongepowered.org/repository/maven-public/" }
|
|
|
|
maven { url = "https://jitpack.io/" }
|
|
|
|
}
|
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
|
|
|
switch (requested.id.id) {
|
|
|
|
case "net.minecraftforge.gradle":
|
|
|
|
useModule("net.minecraftforge.gradle:ForgeGradle:${requested.version}")
|
|
|
|
break
|
|
|
|
case "org.spongepowered.mixin":
|
|
|
|
useModule("org.spongepowered:mixingradle:${requested.version}")
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-16 21:39:05 +01:00
|
|
|
|
2021-09-01 01:12:30 +02:00
|
|
|
rootProject.name = "ViaForge"
|