scopeFromSourceSets

abstract fun scopeFromSourceSets(sourceSetNames: Collection<String>): KoScope

Creates a KoScope containing all of Kotlin files in source set. If the source set is present in multiple modules then all of them will be included. Method does return Kotlin files present in build directories such as "build" and "target".

Return

a KoScope containing all of Kotlin files in source set.

Parameters

sourceSetNames

Set of the source set names.