@Override
  @SuppressWarnings("NullableProblems")
  public @Nullable Object buildAll(
    @NotNull String modelName,
    @Nullable ModelBuilderService.Parameter parameter,
    @NotNull Project project
  ) {
    ModelBuilderContext context = modelBuilderContext.updateAndGet(it -> {
      if (it == null) {
        Gradle rootGradle = getRootGradle(project.getGradle());
        return new DefaultModelBuilderContext(rootGradle);
      }
      return it;
    });

    for (ModelBuilderService service : modelBuilderServices) {
      if (service.canBuild(modelName)) {
        return buildServiceModel(modelName, project, context, service, parameter);
      }
    }
    throw new IllegalArgumentException("Unsupported model: " + modelName);
  }
@Override
  @SuppressWarnings("NullableProblems")
  public @Nullable Object buildAll(
    @NotNull String modelName,
    @Nullable ModelBuilderService.Parameter parameter,
    @NotNull Project project
  )