[AA] Fall back to JVM stdlib dependencies in common test modules
Returns the old test behavior, until KT-63769 is implemented.
This commit is contained in:
committed by
Space Team
parent
0eb1a63a2f
commit
fb9bf1782e
+1
@@ -79,6 +79,7 @@ object TestModuleStructureFactory {
|
|||||||
return when {
|
return when {
|
||||||
module.platform.isJvm() -> jvmStdlibAndJdkDependencies(testModule, project, testServices)
|
module.platform.isJvm() -> jvmStdlibAndJdkDependencies(testModule, project, testServices)
|
||||||
module.platform.isJs() -> jsStdlibDependencies(project, testServices)
|
module.platform.isJs() -> jsStdlibDependencies(project, testServices)
|
||||||
|
module.platform.isCommon() -> jvmStdlibAndJdkDependencies(testModule, project, testServices) // TODO: KT-63769
|
||||||
else -> error("Unsupported platform ${module.platform} in this test")
|
else -> error("Unsupported platform ${module.platform} in this test")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user