diff --git a/src/main/groovy/org/spongepowered/asm/gradle/plugins/MixinExtension.groovy b/src/main/groovy/org/spongepowered/asm/gradle/plugins/MixinExtension.groovy index 5acb560..9b9f28b 100644 --- a/src/main/groovy/org/spongepowered/asm/gradle/plugins/MixinExtension.groovy +++ b/src/main/groovy/org/spongepowered/asm/gradle/plugins/MixinExtension.groovy @@ -1052,6 +1052,8 @@ public class MixinExtension { def configureReobfTaskTask = project.tasks.maybeCreate("configureReobfTaskFor${reobfTask.name.capitalize()}", configureReobfTaskType).configure { delegate.reobfTask = reobfTask mappingFiles += tsrgFile + // tsrgFile is generated by compileTask + dependsOn(compileTask) } reobfTask.dependsOn configureReobfTaskTask }