@Override
      public boolean apply(@NotNull GradleResourcesTarget t, @NotNull File file, @NotNull GradleResourceRootDescriptor rd) throws IOException {
        assert target == t;

        List<File> fileList = files.get(rd);
        if (fileList == null) {
          fileList = new ArrayList<>();
          files.put(rd, fileList);
        }

        fileList.add(file);
        return true;
      }
@Override
      public boolean apply(@NotNull GradleResourcesTarget t, @NotNull File file, @NotNull GradleResourceRootDescriptor rd)