Make JDK classpath roots configuration explicit...

instead of relying on the "configuration files" parameter.
(in the process of migration from KotlinCoreEnvironment).
This commit is contained in:
Ilya Chernikov
2022-01-26 12:51:09 +01:00
committed by teamcity
parent 9d2cadc908
commit f89765eb33
17 changed files with 61 additions and 38 deletions
@@ -60,7 +60,6 @@ import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.nio.file.Path;
import java.util.*;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@@ -212,6 +211,7 @@ public class KotlinTestUtils {
}
JvmContentRootsKt.addJvmClasspathRoots(configuration, classpath);
JvmContentRootsKt.configureJdkClasspathRoots(configuration);
return configuration;
}