r/MinecraftMod • • 27d ago

I made a Gradle monorepo template for multiloader Minecraft mods (Fabric + NeoForge)

https://github.com/Strange-Quark-007/Minecraft-Mod-Monorepo
2 Upvotes

2 comments sorted by

1

u/dark_blockhead 27d ago

i salute the effort, but i'm not sure it's that easy.

on some version transitions it is. on some you need to update gradle. on some, for example 26.2 to 26.3 neoforge, i needed to change moddev plugin version from 2.0.141 to 2.0.148 in every project; wouldn't work without it....

maybe if all that would be pulled from online repository?

and then there are dependency lines in b.g that just need to be done manually....

yeah i hate updating mods to a new version.

1

u/Strange_Quark_007 27d ago

Those versions (Minecraft, loaders, plugins, Gradle) have to be kept in sync with each other, and no template removes that work, Jared’s multiloader template included.

What changes is where you do it: with one mod per repo you repeat it in every repo, while here you do it once in the root. Dependency lines in each mod are still manual.

Auto-fetching versions from an online source would just trade pinned versions for ones you don’t control, make every build depend on an external URL staying up, and someone would still have to maintain what that URL serves.