|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.plugins.quality.JDepend
class JDepend extends DefaultTask
Analyzes code with JDepend.
| Property Summary | |
|---|---|
File |
classesDir
The directory containing the classes to be analyzed. |
FileCollection |
jdependClasspath
The class path containing the JDepend library to be used. |
| Constructor Summary | |
JDepend(Instantiator instantiator, IsolatedAntBuilder antBuilder)
|
|
| Method Summary | |
|---|---|
File
|
getClassesDir()
Returns the directory containing the classes to be analyzed. |
JDependReports
|
getReports()
The reports to be generated by this task. |
JDependReports
|
reports(Closure closure)
Configures the reports to be generated by this task. |
void
|
run()
|
| Property Detail |
|---|
@InputDirectory File classesDir
@InputFiles FileCollection jdependClasspath
| Constructor Detail |
|---|
@Inject JDepend(Instantiator instantiator, IsolatedAntBuilder antBuilder)
| Method Detail |
|---|
@SkipWhenEmpty File getClassesDir()
JDependReports getReports()
JDependReports reports(Closure closure)
jdependTask {
reports {
xml {
destination "build/jdepend.xml"
}
}
}
closure - The configuration
@TaskAction void run()
Gradle API 1.5