diff --git a/build.gradle b/build.gradle index 07e27dc..03e13db 100755 --- a/build.gradle +++ b/build.gradle @@ -50,6 +50,12 @@ dependencies { implementation "com.google.code.findbugs:jsr305:3.0.2" } +loom { + mixin { + defaultRefmapName = "templates.refmap.json" //see templates.mixins.json. I just like to always specify the name + } +} + processResources { inputs.property "version", project.version filesMatching("**/fabric.mod.json") { diff --git a/src/main/resources/templates.mixins.json b/src/main/resources/templates.mixins.json index 5299cec..850b920 100644 --- a/src/main/resources/templates.mixins.json +++ b/src/main/resources/templates.mixins.json @@ -16,5 +16,5 @@ "injectors": { "defaultRequire": 1 }, - "refmap": "packages.refmap.json" + "refmap": "templates.refmap.json" }