Request path from URI before construction file

Original commit: bc6f2f6659
This commit is contained in:
Nikolay Krasko
2017-10-11 13:42:26 +03:00
parent 0b9884d4bf
commit edb34f3f5f
@@ -651,7 +651,7 @@ class KotlinBuilder : ModuleLevelBuilder(BuilderCategory.SOURCE_PROCESSOR) {
val sourceRoots = representativeModule.contentRootsList.urls
.map { URI.create(it) }
.filter { it.scheme == "file" }
.map { File(it) }
.map { File(it.path) }
val friendPaths = KotlinBuilderModuleScriptGenerator.getProductionModulesWhichInternalsAreVisible(representativeTarget).mapNotNull {
val file = getOutputMetaFile(it, false)