Mixins aren't properly reobfuscated if gradle runs configureReobfTaskFor* task before compileJava
Barteks2x opened this issue · 1 comments
Barteks2x commented
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
tterrag1098 commented
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.