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.

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

toolVersion

var toolVersion: String