scopeFromProduction

abstract fun scopeFromProduction(moduleName: String? = null, sourceSetName: String? = null): KoScope

Creates a KoScope containing all of Kotlin files in the production source sets. The production source set is the source set which name does not start and ends with "test". Method does return Kotlin files present in build directories such as "build" and "target".

Return

a KoScope containing all of Kotlin files in the production source sets.

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.

See also