Fix remap jar not always running on subsequent builds
parent
1dd8e47122
commit
7e59a90463
|
@ -26,6 +26,7 @@ package net.fabricmc.loom.task;
|
||||||
|
|
||||||
import net.fabricmc.loom.util.ModRemapper;
|
import net.fabricmc.loom.util.ModRemapper;
|
||||||
import org.gradle.api.tasks.Input;
|
import org.gradle.api.tasks.Input;
|
||||||
|
import org.gradle.api.tasks.InputFile;
|
||||||
import org.gradle.api.tasks.OutputFile;
|
import org.gradle.api.tasks.OutputFile;
|
||||||
import org.gradle.api.tasks.TaskAction;
|
import org.gradle.api.tasks.TaskAction;
|
||||||
|
|
||||||
|
@ -37,7 +38,7 @@ public class RemapJar extends DefaultLoomTask {
|
||||||
public File destination;
|
public File destination;
|
||||||
public boolean nestJar = true;
|
public boolean nestJar = true;
|
||||||
|
|
||||||
@Input
|
@InputFile
|
||||||
public File getJar() {
|
public File getJar() {
|
||||||
return jar;
|
return jar;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue