public TaskInputs sourceDir(Object path) { sourceFiles.from(resolver.resolveFilesAsTree(path)); return this; }
public TaskInputs source(Object path) { sourceFiles.from(path); return this; }
public boolean getHasSourceFiles() { return !sourceFiles.getFrom().isEmpty(); }
public TaskInputs dir(Object dirPath) { inputFiles.from(resolver.resolveFilesAsTree(dirPath)); return this; }
public TaskInputs files(Object... paths) { inputFiles.from(paths); return this; }
public boolean getHasInputs() { return !inputFiles.getFrom().isEmpty() || !properties.isEmpty() || !sourceFiles.getFrom().isEmpty(); }