ViaForge/settings.gradle
xcfrg b1c239fdbb
🛠 Forgegradle 5 & Gradle 7 Upgrade
- 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
2021-08-31 19:12:30 -04:00

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"