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

LintExtension

open class LintExtension

Constructors

<init>

LintExtension()

Properties

abortOnError

var abortOnError: Boolean?

If set to false or true it overrides CodeQualityToolsPluginExtension#failEarly.

absolutePaths

var absolutePaths: Boolean?

Returns whether lint should use absolute paths or not.

baselineFileName

var baselineFileName: String?

The baseline file name (e.g. baseline.xml) which will be saved under each project.

checkAllWarnings

var checkAllWarnings: Boolean?

Returns whether lint should check all warnings, including those off by default.

checkDependencies

var checkDependencies: Boolean?

Returns whether lint should check dependencies or not.

checkReleaseBuilds

var checkReleaseBuilds: Boolean?

Returns whether lint should check release builds or not. Since this plugin hooks lint into the check task we'll assume that you're always running the full lint suite and hence checking release builds is not necessary.

checkTestSources

var checkTestSources: Boolean?

Returns whether lint should check test sources or not.

enabled

var enabled: Boolean

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

lintConfig

var lintConfig: File?

The lint config file (e.g. lint.xml).

textOutput

var textOutput: String

Specify the textOutput for lint. It will only be used when textReport is set to true.

textReport

var textReport: Boolean?

Enable or disable textReport.

warningsAsErrors

var warningsAsErrors: Boolean?

If set to false or true it overrides CodeQualityToolsPluginExtension#failEarly.