code: private static List<DependencyInfo> getDependencies(JsonReader reader) throws IOException {
          Gson gson = new Gson();
          List<DependencyInfo> dependencies = new ArrayList<>();
          reader.beginArray();
          while (reader.hasNext()) {
              DependencyInfo dependencyInfo = gson.fromJson(reader, DependencyInfo.class);
              dependencies.add(dependencyInfo);
          }
          reader.endArray();
          return dependencies;
      }
docs: /* --- Private methods ---