public static void addDependency(@NotNull Module from, @NotNull Module to) {
    addDependency(from, to, DependencyScope.COMPILE, false);
  }
public static void addDependency(@NotNull Module from, @NotNull Module to)