mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
Fix remap jar not always running on subsequent builds
This commit is contained in:
@@ -26,6 +26,7 @@ package net.fabricmc.loom.task;
|
||||
|
||||
import net.fabricmc.loom.util.ModRemapper;
|
||||
import org.gradle.api.tasks.Input;
|
||||
import org.gradle.api.tasks.InputFile;
|
||||
import org.gradle.api.tasks.OutputFile;
|
||||
import org.gradle.api.tasks.TaskAction;
|
||||
|
||||
@@ -37,7 +38,7 @@ public class RemapJar extends DefaultLoomTask {
|
||||
public File destination;
|
||||
public boolean nestJar = true;
|
||||
|
||||
@Input
|
||||
@InputFile
|
||||
public File getJar() {
|
||||
return jar;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user