Konsist
Represents the Konsist API. This is the main entry point to the Konsist library.
It allows to create a com.lemonappdev.konsist.api.container.koscope.KoScope instance from the given set of files such as all project files, single module, path etc.
Functions
Creates a KoScope containing all of Kotlin files in the given directories.
Creates a KoScope containing all of Kotlin files in the given directory.
Creates a KoScope containing all of Kotlin files in the given directories. Some features (as KoFile.projectPath
, KoFile.moduleName
) do not work with this method.
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.
Creates a KoScope of a given file.
Creates a KoScope of a given files.
Creates a KoScope containing all of Kotlin files in the module. Method does return Kotlin files present in build directories such as "build" and "target".
Creates a KoScope containing all of Kotlin files in the module. Method does return Kotlin files present in build directories such as "build" and "target".
Creates a KoScope containing all of Kotlin files in the given package. Method does return Kotlin files present in build directories such as "build" and "target".
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".
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".
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".
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".
Creates a KoScope containing all of Kotlin files in the test source sets. The test source set is the source set which name starts or ends with "test". Method does return Kotlin files present in build directories such as "build" and "target".