docs: public Collection<ArtifactSpec> getTransientDependencies(ArtifactSpec artifact) {
          Set<ArtifactSpec> deps = new HashSet<>();
          if (this.isDirectDep(artifact)) {
              deps.addAll(getTransientDeps(artifact));
          }
          if (presolvedDependencies.isDirectDep(artifact)) {
              deps.addAll(presolvedDependencies.getTransientDeps(artifact));
          }
          return deps;
      }