mirror of
https://github.com/ViaVersion/ViaForge.git
synced 2024-11-25 12:35:30 +01:00
b1c239fdbb
- Use the latest forgegradle available, forgegradle 5 - Update mixins - Remove the terrible libs folder and grab libs from repos - Rewrite build.gradle, settings.gradle, gradle.properties to support forgegradle 5 - Upgraded to gradle 7.2 - Use DefaultEventLoopGroup instead of LocalEventLoopGroup, as the latter is deprecated - Both dev environment and building have been tested
23 lines
757 B
Groovy
23 lines
757 B
Groovy
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
rootProject.name = "ViaForge" |