public static void processInitScriptOutput(ProjectTaskContext context, @Nullable File outputPathsFile) {
    if (outputPathsFile == null || !context.isCollectionOfGeneratedFilesEnabled()) {
      return;
    }

    Collection<GradleImprovedHotswapOutput> outputs = GradleImprovedHotswapOutput.parseOutputFile(outputPathsFile);

    outputs.stream()
      .filter(output -> !StringUtil.isEmpty(output.getPath()))
      .forEach(output -> context.fileGenerated(output.getRoot(), output.getPath()));

    Set<String> dirtyRoots = outputs.stream()
      .filter(output -> StringUtil.isEmpty(output.getPath()))
      .map(GradleImprovedHotswapOutput::getRoot)
      .collect(Collectors.toSet());

    context.addDirtyOutputPathsProvider(() -> dirtyRoots);
  }
public static void processInitScriptOutput(ProjectTaskContext context, @Nullable File outputPathsFile)