Fix remap jar not always running on subsequent builds

dev/0.11
modmuss50 2019-05-06 11:34:45 +01:00
parent 1dd8e47122
commit 7e59a90463
1 changed files with 2 additions and 1 deletions

View File

@ -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;
} }