|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.gradle.api.plugins.quality.CodeQualityExtension org.gradle.api.plugins.quality.CodeNarcExtension
class CodeNarcExtension extends CodeQualityExtension
Property Summary | |
---|---|
File |
configFile
The CodeNarc configuration file to use. |
int |
maxPriority1Violations
The maximum number of priority 1 violations allowed before failing the build. |
int |
maxPriority2Violations
The maximum number of priority 2 violations allowed before failing the build. |
int |
maxPriority3Violations
The maximum number of priority 3 violations allowed before failing the build. |
String |
reportFormat
The format type of the CodeNarc report. |
Method Summary | |
---|---|
void
|
setReportFormat(String reportFormat)
|
Property Detail |
---|
File configFile
int maxPriority1Violations
int maxPriority2Violations
int maxPriority3Violations
String reportFormat
Method Detail |
---|
void setReportFormat(String reportFormat)
Gradle API 1.12