|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.plugins.quality.internal.AbstractCodeQualityPlugin org.gradle.api.plugins.quality.PmdPlugin
class PmdPlugin extends AbstractCodeQualityPlugin
A plugin for the PMD source code analyzer.
Declares a pmd configuration which needs to be configured with the PMD library to be used.
For each source set that is to be analyzed, a Pmd task is created and configured to analyze all Java code.
check lifecycle task.
Method Summary | |
---|---|
protected void
|
configureForSourceSet(SourceSet sourceSet, Pmd task)
|
protected void
|
configureTaskDefaults(Pmd task, String baseName)
|
protected CodeQualityExtension
|
createExtension()
|
TargetJdk
|
getDefaultTargetJdk(JavaVersion javaVersion)
|
protected Class
|
getTaskType()
|
protected String
|
getToolName()
|
Method Detail |
---|
@Override protected void configureForSourceSet(SourceSet sourceSet, Pmd task)
@Override protected void configureTaskDefaults(Pmd task, String baseName)
@Override protected CodeQualityExtension createExtension()
TargetJdk getDefaultTargetJdk(JavaVersion javaVersion)
@Override protected Class getTaskType()
@Override protected String getToolName()
Gradle API 1.12