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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user