code: public List<BuildConfiguration> dependencyDepthFirstSearch(BuildConfiguration buildConfig) {
          List<BuildConfiguration> path = new ArrayList<>();
          path.add(this);
          return this.dependencyDepthFirstSearch(buildConfig, path);
      }
docs: Perform a depth first search of the dependencies to find a match of the given build config. Returns a list with a single
  build config (this), if no match is found.
  
  @param buildConfig The build config to search for
  @return A list of the build configurations in the path between this config and the given config.