예제 #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();
 }