[minor] fix source root creation from imported scripts:

make the usages of KotlinSourceRoot consistent everywhere
This commit is contained in:
Ilya Chernikov
2019-10-01 14:17:51 +02:00
parent 5d7f18b1b9
commit 3fec15202f
@@ -46,7 +46,7 @@ fun collectScriptsCompilationDependencies(
collectedClassPath.addAll(refinedConfiguration.dependenciesClassPath) collectedClassPath.addAll(refinedConfiguration.dependenciesClassPath)
val sourceDependenciesRoots = refinedConfiguration.importedScripts.map { val sourceDependenciesRoots = refinedConfiguration.importedScripts.map {
KotlinSourceRoot(it.path, false) KotlinSourceRoot(it.absolutePath, false)
} }
val sourceDependencies = val sourceDependencies =
createSourceFilesFromSourceRoots( createSourceFilesFromSourceRoots(