Apache Solr open-source search software
This is a simpler version to convert a file collection to a path.
Dawid Weissd5d73cd8863b
diff --git a/solr/benchmark/build.gradle b/solr/benchmark/build.gradleindex a2188b49679..2b2c9647477 100644--- a/solr/benchmark/build.gradle+++ b/solr/benchmark/build.gradle@@ -39,19 +39,10 @@ jmhReport {task echoCp {doLast {- print toPath((sourceSets.main.runtimeClasspath + sourceSets.main.resources).files)+ logger.lifecycle((sourceSets.main.runtimeClasspath + sourceSets.main.resources).asPath)}}-private static String toPath(Set<File> classpathUnderTest) {- StringBuilder sb = new StringBuilder();- for (File entry : classpathUnderTest) {- sb.append(entry.getAbsolutePath());- sb.append(File.pathSeparatorChar);- }- return sb.toString();-}-dependencies {implementation project(':solr:test-framework')