docs: public static Set<Dependency> getAllDependencies(final Module module) {
          final Set<Dependency> dependencies = new HashSet<Dependency>();
          dependencies.addAll(module.getDependencies());
  
          for(final Module submodule: module.getSubmodules()){
              dependencies.addAll(getAllDependencies(submodule));
          }
  
          return dependencies;
      }