@Override
  public void reportErrorMessage(
    @NotNull String modelName,
    @NotNull Project project,
    @NotNull ModelBuilderContext context,
    @NotNull Exception exception
  ) {
    GradleSourceSetArtifactIndex.getInstance(context)
      .markSourceSetArtifactModelAsError(project);

    context.getMessageReporter().createMessage()
      .withGroup(Messages.SOURCE_SET_ARTIFACT_INDEX_GROUP)
      .withKind(Message.Kind.ERROR)
      .withTitle("Source set artifact index building failure")
      .withException(exception)
      .reportMessage(project);
  }
@Override
  public void reportErrorMessage(
    @NotNull String modelName,
    @NotNull Project project,
    @NotNull ModelBuilderContext context,
    @NotNull Exception exception
  )