package ktfmt
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class KtfmtArgs(style: String = "kotlin", format: Boolean = true, removeUnusedImports: Boolean = true) extends Product with Serializable
Arguments for KtfmtModule.ktfmt.
Arguments for KtfmtModule.ktfmt.
- style
formatting style to apply, can be either "kotlin", "meta" or "google". Default is "kotlin".
- format
if auto-formatting should be done. Default is "true"
- removeUnusedImports
flag to remove unused imports if auto-formatting is applied. Default is "true".
- Annotations
- @main()
- trait KtfmtBaseModule extends BaseClass with JavaModule
- trait KtfmtModule extends BaseClass with KtfmtBaseModule
Performs formatting checks on Kotlin source files using Ktfmt.
Value Members
- object KtfmtArgs extends Serializable
- object KtfmtModule extends ExternalModule with KtfmtBaseModule with TaskModule