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