Earthcomputer / jarmod-buildsystem-2

Buildsystem for Minecraft 1.13+ Jar Mods built on top of ForgeGradle 3.0
MIT License
13 stars 7 forks source link

Fix for issue #2 #7

Closed Salandora closed 5 years ago

Salandora commented 5 years ago

Fix for issue #2

Fixes a problem where inner classes don't get included into the jar file if the outer class has changed.

This could lead to NoSuchMethod exceptions while running the server.

My approch is to run through the filtered or reobfuscated jar file, check all files for modification and store them in a map. Then in the excluding part of the build system I check the current file against the list of modified files. Criterias for inclusion are:

Earthcomputer commented 5 years ago

Thanks!