[TMP] Remove :kotlin-coroutines-experimental-compat module
This commit is contained in:
+1
-4
@@ -93,10 +93,7 @@ public abstract class AbstractCompileKotlinAgainstKotlinTest extends CodegenTest
|
||||
@NotNull
|
||||
private URLClassLoader createGeneratedClassLoader() throws Exception {
|
||||
return new URLClassLoader(
|
||||
new URL[]{
|
||||
bDir.toURI().toURL(), aDir.toURI().toURL(),
|
||||
ForTestCompileRuntime.coroutinesCompatForTests().toURI().toURL()
|
||||
},
|
||||
new URL[]{bDir.toURI().toURL(), aDir.toURI().toURL()},
|
||||
ForTestCompileRuntime.runtimeAndReflectJarClassLoader()
|
||||
);
|
||||
}
|
||||
|
||||
@@ -235,7 +235,6 @@ public abstract class CodegenTestCase extends KotlinBaseTest<KotlinBaseTest.Test
|
||||
if (additionalDependencies != null) {
|
||||
files.addAll(additionalDependencies);
|
||||
}
|
||||
files.addAll(getExtraDependenciesFromKotlinCompileClasspath());
|
||||
|
||||
ScriptDependenciesProvider externalImportsProvider =
|
||||
ScriptDependenciesProvider.Companion.getInstance(myEnvironment.getProject());
|
||||
@@ -262,20 +261,6 @@ public abstract class CodegenTestCase extends KotlinBaseTest<KotlinBaseTest.Test
|
||||
}
|
||||
}
|
||||
|
||||
private Set<File> getExtraDependenciesFromKotlinCompileClasspath() {
|
||||
List<File> includeFromCompileClasspath = CollectionsKt.listOf(
|
||||
ForTestCompileRuntime.coroutinesCompatForTests()
|
||||
);
|
||||
List<File> compileClasspath =
|
||||
CollectionsKt.map(
|
||||
CollectionsKt.filterIsInstance(
|
||||
myEnvironment.getConfiguration().get(CLIConfigurationKeys.CONTENT_ROOTS),
|
||||
JvmClasspathRoot.class),
|
||||
JvmClasspathRoot::getFile);
|
||||
return CollectionsKt.intersect(compileClasspath, includeFromCompileClasspath);
|
||||
}
|
||||
|
||||
|
||||
@NotNull
|
||||
protected String generateToText() {
|
||||
return generateToText(null);
|
||||
@@ -483,7 +468,6 @@ public abstract class CodegenTestCase extends KotlinBaseTest<KotlinBaseTest.Test
|
||||
if (loadAndroidAnnotations) {
|
||||
javaClasspath.add(ForTestCompileRuntime.androidAnnotationsForTests().getPath());
|
||||
}
|
||||
javaClasspath.addAll(CollectionsKt.map(getExtraDependenciesFromKotlinCompileClasspath(), File::getPath));
|
||||
updateJavaClasspath(javaClasspath);
|
||||
|
||||
javaClassesOutputDirectory = getJavaClassesOutputDirectory();
|
||||
|
||||
Reference in New Issue
Block a user