scopeFromProject

abstract fun scopeFromProject(moduleName: String? = null, sourceSetName: String? = null, ignoreBuildConfig: Boolean = true): KoScope

Creates a KoScope containing all of Kotlin files in the project. Method does return Kotlin files present in build directories such as "build" and "target".

Return

a KoScope containing all of Kotlin files in the project.

Parameters

moduleName

The name of the module. If null, all modules will be included.

sourceSetName

The name of the source set. If null, all source sets will be included.

ignoreBuildConfig

If true, build config files and directories such as Gradle buildSrc directory will be ignored.