Type | Name and description |
---|---|
TextResource |
config The Checkstyle configuration to use. |
Map<String, Object> |
configProperties The properties available for use in the configuration file. |
boolean |
showViolations Whether or not rule violations are to be displayed on the console. |
Constructor and description |
---|
CheckstyleExtension
(Project project) |
Type | Name and description |
---|---|
File |
getConfigFile() The Checkstyle configuration file to use. |
void |
setConfigFile(File configFile) The Checkstyle configuration file to use. |
The Checkstyle configuration to use. Replaces the configFile
property.
The properties available for use in the configuration file. These are substituted into the configuration file.
Whether or not rule violations are to be displayed on the console. Defaults to true. Example: showViolations = false
Gradle API 2.3