private static void reportUnresolvedDependencyError(@NotNull ProjectResolverContext resolverCtx,
                                                      UnresolvedExternalDependency unresolvedDep,
                                                      String ownerModuleId) {
    final String libraryName =  unresolvedDep.getId().getPresentableName();
    final String failureMessage = unresolvedDep.getFailureMessage();
    boolean isOfflineWork = resolverCtx.getSettings() != null && resolverCtx.getSettings().isOfflineWork();
    BuildIssue buildIssue = new UnresolvedDependencySyncIssue(
      libraryName, failureMessage, resolverCtx.getProjectPath(), isOfflineWork, ownerModuleId);
    resolverCtx.report(MessageEvent.Kind.ERROR, buildIssue);
  }
private static void reportUnresolvedDependencyError(@NotNull ProjectResolverContext resolverCtx,
                                                      UnresolvedExternalDependency unresolvedDep,
                                                      String ownerModuleId)