public static void beAware(@NotNull Project project) {
    final ExternalSystemFacadeManager facadeManager = ExternalSystemFacadeManager.getInstance();
    for (ExternalSystemManager<?, ?, ?, ?, ?> manager : ExternalSystemApiUtil.getAllManagers()) {
      AbstractExternalSystemSettings settings = manager.getSettingsProvider().fun(project);
      //noinspection unchecked
      settings.subscribe(new ExternalSystemSettingsListener<>() {
        @Override
        public void onProjectRenamed(@NotNull String oldName, @NotNull String newName) {
          facadeManager.onProjectRename(oldName, newName);
        }
      }, settings);
    }
  }
public static void beAware(@NotNull Project project)