Lots of fixes. It generates the mdf quickmods can have now.
Note: will not work if you have a 'universal' classifier for your jarfile because of oddities in gradle api.