Split kotlin-stdlib-coroutines into common and java jars

#KT-24532: Fixed
This commit is contained in:
Ilmir Usmanov
2018-05-23 17:47:12 +03:00
parent 9c5256434c
commit 0cb73e55d0
3 changed files with 31 additions and 3 deletions
@@ -83,7 +83,7 @@ abstract class AbstractMultiPlatformIntegrationTest : KtUsefulTestCase() {
val commonLibs = Files.newDirectoryStream(Paths.get(stdlibCommonLibsDir)).use(Iterable<Path>::toList)
return commonLibs.sorted().findLast {
val name = it.toFile().name
!name.endsWith("-javadoc.jar") && !name.endsWith("-sources.jar")
!name.endsWith("-javadoc.jar") && !name.endsWith("-sources.jar") && !name.contains("coroutines")
}?.toFile() ?: error("kotlin-stdlib-common is not found in $stdlibCommonLibsDir")
}