https://github.com/StevenNL2000Freedom/TotalFreedomMod
So I got TFM working with Gradle. It's significantly faster in every way.
It takes less than 2 minutes to get a JAR compared to the 15 minutes you could spend with Maven on a clean slate.
It usually takes at least a minute to compile, with Gradle the maximum is 15 seconds. If you're balls deep in a debugging session, it takes more like 5 seconds.
It's not done yet, and anyone who knows Gradle ### PLEASE FUCKING HELP ME GET THIS SHIT SORTED OUT
Here's what's missing / the bugs
- Potentially cross compatible versions of TFM? Different projects for NMS to ease transition to a newer version. You can get a JAR for 1.16.5 and 1.17 in the same build instead of having to be on an out of sync branch or changing the pom.xml (no idea how to do this)
However, you can get a fully working JAR. Just run gradle build. Shading fully works and it's the exact same size as you would get from Maven.