@Override
  public Object buildAll(@NotNull String modelName, @NotNull Project project, @NotNull ModelBuilderContext context) {
    Set<Task> tasks = GradleTaskIndex.getInstance(context)
      .getAllTasks(project);

    Map<String, Map<String, String>> projectIdentityPathToManifestAttributes = new HashMap<>();
    for (Task task : tasks) {
      if (task instanceof Jar && JAR_TASK.equals(task.getName())) {
        Jar jar = (Jar)task;
        Attributes attributes = jar.getManifest().getAttributes();
        if (!attributes.isEmpty()) {
          projectIdentityPathToManifestAttributes.put(identityPath(project), attributeMap(attributes));
        }
      }
    }
    return new JarTaskManifestConfigurationImpl(projectIdentityPathToManifestAttributes);
  }
@Override
  public Object buildAll(@NotNull String modelName, @NotNull Project project, @NotNull ModelBuilderContext context)