gradle-code-quality-tools-plugin / com.vanniktech.code.quality.tools / DetektExtension

DetektExtension

open class DetektExtension

Constructors

<init>

DetektExtension()

Properties

baselineFileName

var baselineFileName: String?

Optional baseline file. If one is present it will be used in the detektCheck task. If this name is specified however the file is not present it will be generated. This mirrors the baseline mechanism from Android Lint.

buildUponDefaultConfig

var buildUponDefaultConfig: Boolean

Whether to use preconfigured defaults. Allows provided configurations to override them.

config

var config: String

enabled

var enabled: Boolean

Ability to enable or disable only detekt for every subproject that is not ignored.

failFast

var failFast: Boolean

Whether to failFast or not. This will be forwarded to the CLI starting with Detekt 1.0.0 RC13

parallel

var parallel: Boolean

Enables parallel compilation of source files. Should only be used if the analyzing project has more than ~200 Kotlin files.

toolVersion

var toolVersion: String