resolveClasspath

Resolves the project's compile classpath by running subprocesses (mvn dependency:tree and/or gradle dependencies) and downloading the resulting coordinates via Maven Resolver.

Supports Maven-only, Gradle-only, and mixed Maven+Gradle projects, as well as projects where build files live in subdirectories. Both subprocess paths are attempted and their coordinates are combined before resolution.

Return

io.github.skhokhlov.rewriterunner.lst.utils.ClasspathResolutionResult containing the resolved JAR paths and, for Gradle projects where the gradle dependencies task succeeded, per-project configuration data for constructing GradleProject markers. Returns an empty classpath (never throws) when no subprocess succeeds or resolution fails completely.