CheckstyleExtension

Configuration options for the Checkstyle plugin.

See also

Constructors

Link copied to clipboard
constructor(project: Project)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var maxErrors: Int
Link copied to clipboard
open var maxWarnings: Int
Link copied to clipboard
open var reportsDir: File
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun getConfigFile(): File
The Checkstyle configuration file to use.
Link copied to clipboard
Link copied to clipboard
Whether rule violations are to be displayed on the console.
Link copied to clipboard
open fun setConfigFile(configFile: File)
The Checkstyle configuration file to use.
Link copied to clipboard
inline fun CheckstyleExtension.setConfigProperties(vararg configProperties: Pair<String, Any?>)

Kotlin extension function for org.gradle.api.plugins.quality.CheckstyleExtension.setConfigProperties.

Link copied to clipboard
open fun setIgnoreFailures(ignoreFailures: Boolean)
Link copied to clipboard
open fun setShowViolations(showViolations: Boolean)
Whether rule violations are to be displayed on the console.