Revert "Make SourceRemapper threaded (#446)"

This reverts commit ef2816b0d0.
This commit is contained in:
modmuss50
2021-09-02 12:50:56 +01:00
parent 6165576521
commit b1b395cedf
4 changed files with 107 additions and 204 deletions

View File

@@ -24,10 +24,7 @@
package net.fabricmc.loom.task;
import java.io.IOException;
import org.gradle.api.tasks.Internal;
import org.gradle.api.tasks.TaskAction;
import net.fabricmc.loom.util.SourceRemapper;
@@ -38,13 +35,4 @@ public class RemapAllSourcesTask extends AbstractLoomTask {
public SourceRemapper getSourceRemapper() {
return sourceRemapper;
}
@TaskAction
public void remap() {
try {
sourceRemapper.remapAll();
} catch (IOException exception) {
throw new RuntimeException("Failed to remap mod", exception);
}
}
}