private Promise<Void> addDependency(@NotNull Collection<? extends Module> fromModules,
                                      @NotNull final MavenId mavenId,
                                      @NotNull final DependencyScope scope) {
    return addDependency(fromModules, mavenId, null, null, null, scope);
  }
private Promise<Void> addDependency(@NotNull Collection<? extends Module> fromModules,
                                      @NotNull final MavenId mavenId,
                                      @NotNull final DependencyScope scope)