scopeFromExternalDirectory

abstract fun scopeFromExternalDirectory(absolutePath: String, vararg paths: String): KoScope

Creates a KoScope containing all of Kotlin files in the given directory. Some features (as KoFile.projectPath, KoFile.moduleName) do not work with this method.

Return

a KoScope containing all of Kotlin files in the given directory.

Parameters

absolutePath

The absolute path to the directory from outside the project.

paths

The absolute path(s) to the project root directory