Fix stdlib test in compiler in the gradle environment
This commit is contained in:
@@ -53,7 +53,7 @@ public class StdlibTest extends KotlinTestWithEnvironment {
|
||||
@Override
|
||||
protected KotlinCoreEnvironment createEnvironment() {
|
||||
@SuppressWarnings("deprecation")
|
||||
File[] runtimeClasspath = ForTestCompileRuntime.runtimeClassesForTests();
|
||||
File[] runtimeClasspath = new File[] { ForTestCompileRuntime.runtimeJarForTests() };
|
||||
CompilerConfiguration configuration = KotlinTestUtils.newConfiguration(ConfigurationKind.JDK_NO_RUNTIME, TestJdkKind.FULL_JDK, runtimeClasspath);
|
||||
|
||||
JvmContentRootsKt.addJvmClasspathRoot(configuration, ForTestCompileRuntime.kotlinTestJarForTests());
|
||||
|
||||
Reference in New Issue
Block a user