示例#1
0
 public TaskInputs sourceDir(Object path) {
   sourceFiles.from(resolver.resolveFilesAsTree(path));
   return this;
 }
示例#2
0
 public TaskInputs source(Object path) {
   sourceFiles.from(path);
   return this;
 }
示例#3
0
 public boolean getHasSourceFiles() {
   return !sourceFiles.getFrom().isEmpty();
 }
示例#4
0
 public TaskInputs dir(Object dirPath) {
   inputFiles.from(resolver.resolveFilesAsTree(dirPath));
   return this;
 }
示例#5
0
 public TaskInputs files(Object... paths) {
   inputFiles.from(paths);
   return this;
 }
示例#6
0
 public boolean getHasInputs() {
   return !inputFiles.getFrom().isEmpty()
       || !properties.isEmpty()
       || !sourceFiles.getFrom().isEmpty();
 }