fix Input annotation for FileCollection (#119)
This commit is contained in:
parent
fd7d4b29db
commit
dba326147a
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ package net.fabricmc.loom.task;
|
|||
import org.gradle.api.file.FileCollection;
|
||||
import org.gradle.api.tasks.Input;
|
||||
import org.gradle.api.tasks.InputFile;
|
||||
import org.gradle.api.tasks.InputFiles;
|
||||
import org.gradle.api.tasks.OutputFile;
|
||||
|
||||
import java.io.File;
|
||||
|
@ -42,7 +43,7 @@ public abstract class AbstractDecompileTask extends AbstractLoomTask {
|
|||
public File getInput() { return getProject().file(input); }
|
||||
@OutputFile public File getOutput() { return getProject().file(output); }
|
||||
@OutputFile public File getLineMapFile() { return getProject().file(lineMapFile); }
|
||||
@InputFile public FileCollection getLibraries() { return getProject().files(libraries); }
|
||||
@InputFiles public FileCollection getLibraries() { return getProject().files(libraries); }
|
||||
public void setInput(Object input) { this.input = input; }
|
||||
public void setOutput(Object output) { this.output = output; }
|
||||
public void setLineMapFile(Object lineMapFile) { this.lineMapFile = lineMapFile; }
|
||||
|
|
Loading…
Reference in a new issue