architectury / architectury-plugin

A simple gradle plugin to enable developing multiplatform mods.
MIT License
56 stars 19 forks source link

Refmap not being named correctly #39

Open ejektaflex opened 8 months ago

ejektaflex commented 8 months ago

Hi! In my project (https://github.com/ejektaflex/Bountiful), my Fabric refmap is not named correctly when I build the mods, and as such, the mod does not load in the final built jar. err_bountiful

Note that even though this is the Fabric jar file, it copied in the common refmap instead. The problem is that the mixin json file is still referencing bountiful-fabric-refmap.json, which does not exist, so it causes a crash at runtime.

This might be a problem with my gradle setup - if it is, let me know what I've done wrong. Feel free to transfer it to the arch-loom issue tracker if it's better suited for there as well.

This didn't used to happen to me (I last did a build in July), so perhaps it's related to Arch-Loom 1.4 changes with a new snapshot? Not sure.