예제 #1
0
    public void afterExecute(Task task, TaskState state) {
      assertThat(task, sameInstance(current));
      current = null;

      String taskPath = path(task);
      if (taskPath.startsWith(":buildSrc:")) {
        return;
      }

      if (state.getSkipped()) {
        skippedTasks.add(taskPath);
      }
    }
예제 #2
0
 private Set<String> getExecutedTasks() {
   Set<String> notSkipped = new HashSet<String>(plannedTasks);
   notSkipped.removeAll(skippedTasks);
   return notSkipped;
 }