private static @NotNull String getModuleId(
    @NotNull ExternalProject externalProject
  ) {
    String moduleName = externalProject.getName();
    String gradlePath = externalProject.getIdentityPath();
    if (StringUtil.isEmpty(gradlePath)) {
      return moduleName;
    }
    if (":".equals(gradlePath)) {
      return moduleName;
    }
    return gradlePath;
  }
private static @NotNull String getModuleId(
    @NotNull ExternalProject externalProject
  )