MinecraftForge / ForgeGradle

Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
526 stars 447 forks source link

Implement a fix for a crash that can occur when JiJ is enabled. #881

Closed marchermans closed 2 years ago

marchermans commented 2 years ago

When #879 was merged a corner case opened up with the way FG registers the reobfuscation tasks for JiJ. This has been fixed with this PR by using a immediate lazy resolve when the JiJ tasks get added.

Additionally cleans up the maven publication from any vanilla artifacts. Adds a logging line to keep track of the automatically added Reobf tasks for JiJ to make future testing and diagnosing easier.