|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.gradle.api.plugins.quality.CodeQualityExtension
org.gradle.api.plugins.quality.PmdExtension
class PmdExtension extends CodeQualityExtension
Configuration options for the PMD plugin.
| Property Summary | |
|---|---|
FileCollection |
ruleSetFiles
The custom rule set files to be used. |
List |
ruleSets
The built-in rule sets to be used. |
TargetJdk |
targetJdk
The target jdk to use with pmd, 1.3, 1.4, 1.5, 1.6, 1.7 or jsp |
| Constructor Summary | |
PmdExtension(Project project)
|
|
| Method Summary | |
|---|---|
void
|
ruleSetFiles(Object... ruleSetFiles)
Convenience method for adding rule set files. |
void
|
ruleSets(String... ruleSets)
Convenience method for adding rule sets. |
void
|
setTargetJdk(def value)
Sets the target jdk used with pmd. |
| Property Detail |
|---|
FileCollection ruleSetFiles
List ruleSets
TargetJdk targetJdk
| Constructor Detail |
|---|
PmdExtension(Project project)
| Method Detail |
|---|
void ruleSetFiles(Object... ruleSetFiles)
ruleSetFiles - the rule set files to be added
void ruleSets(String... ruleSets)
ruleSets - the rule sets to be added
void setTargetJdk(def value)
Gradle API 1.5