Release a fabric api fatjar with all the modules shaded
natanfudge opened this issue · 6 comments
Fabric api has a ton of small modules, which cloud up the dependency view. It would be nice to only have 1 jar in dev.
I’m not sure how this would be implemented technically, there needs to be a way to make this the default with the existing setup.
Not really possible as there isn’t a way to have multiple mods in one jar.
What’s your usecase as well?
For one,
cloud up the dependency view
Also, this should make it possible to JIJ fabric API.
JIJing a fat fabric jar is a really really bad idea.
It means loader wont be able to loader possible newer versions supplied by other mods.
JARs (base URLs) are the atomic unit the class loader can (somewhat) easily reorder or prioritize.
I see this requested feature only as a workaround for IDEs being unable to show the module contents nicely, but if you look at how Eclipse shows the modular Java 9+ system library, it is very similar. The main difference is that it uses short names, maybe loom could achieve this by putting version and mapping info in the parent folder name instead of the jar filename after remapping.