MixinGradle
MixinGradle copied to clipboard
Mixins aren't properly reobfuscated if gradle runs configureReobfTaskFor* task before compileJava
As in the title. Gradle is able to shuffle task execution around a bit as long as task dependency constraints are met. I ran into a situation where gradle reordered my tasks such that configureReobfTaskForShadowJar ran before compileJava in some cases. This breaks mixin reobf. The solution is to specify mustRunAfter("compileJava") for that those tasks
Has this been looked into? These workarounds linked above will just add more magic boilerplate to everyone's buildscripts until we forget what it was supposed to fix.