FabricMC / fabric-loom

Gradle build system plugin used to automate the setup of a minecraft mod development environment.
MIT License
223 stars 194 forks source link

Add JADX decompiler #1073

Open NebelNidas opened 3 months ago

NebelNidas commented 3 months ago

Adds support for the JADX decompiler.

Version 1.4.7 doesn't support properly attaching Javadocs, the best I could do is adding normal comments (with //). The latest master branch fixes this, but I didn't want to depend on potentially unstable snapshot versions.

Running genSourcesWithJadx currently cashes due to some transitive dependencies not being excluded, but I've never worked with Gradle's Java API before, so I'm not sure how to do this. Which means I wasn't able to conduct proper tests yet, maybe I'll have to fix up some more stuff later down the road.