mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
Fix RemapSourcesJarTask defaulting to intermediary
This commit is contained in:
@@ -41,7 +41,7 @@ public class RemapSourcesJarTask extends AbstractLoomTask {
|
||||
private Object input;
|
||||
private Object output;
|
||||
private String from = "named";
|
||||
private String direction = "intermediary";
|
||||
private String direction;
|
||||
private SourceRemapper sourceRemapper = null;
|
||||
private final Property<Boolean> archivePreserveFileTimestamps;
|
||||
private final Property<Boolean> archiveReproducibleFileOrder;
|
||||
@@ -50,6 +50,7 @@ public class RemapSourcesJarTask extends AbstractLoomTask {
|
||||
ObjectFactory objectFactory = getProject().getObjects();
|
||||
archivePreserveFileTimestamps = objectFactory.property(Boolean.class);
|
||||
archiveReproducibleFileOrder = objectFactory.property(Boolean.class);
|
||||
this.direction = SourceRemapper.intermediary(getProject());
|
||||
}
|
||||
|
||||
@TaskAction
|
||||
|
||||
Reference in New Issue
Block a user