@CacheableTask public class JDepend extends DefaultTask implements Reporting<JDependReports>
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
JDepend() |
Modifier and Type | Method and Description |
---|---|
org.gradle.api.internal.project.IsolatedAntBuilder |
getAntBuilder() |
File |
getClassesDir()
The directory containing the classes to be analyzed.
|
org.gradle.internal.reflect.Instantiator |
getInstantiator() |
FileCollection |
getJdependClasspath()
The class path containing the JDepend library to be used.
|
JDependReports |
getReports()
The reports to be generated by this task.
|
JDependReports |
reports(Action<? super JDependReports> configureAction)
Configures the reports to be generated by this task.
|
JDependReports |
reports(Closure closure)
Configures the reports to be generated by this task.
|
void |
run() |
void |
setClassesDir(File classesDir) |
void |
setJdependClasspath(FileCollection jdependClasspath) |
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
@PathSensitive(value=RELATIVE) @InputDirectory @SkipWhenEmpty public File getClassesDir()
@Inject public org.gradle.internal.reflect.Instantiator getInstantiator()
@Inject public org.gradle.api.internal.project.IsolatedAntBuilder getAntBuilder()
public JDependReports reports(Closure closure)
jdependTask { reports { xml { destination "build/jdepend.xml" } } }
reports
in interface Reporting<JDependReports>
closure
- The configurationpublic JDependReports reports(Action<? super JDependReports> configureAction)
jdependTask { reports { xml { destination "build/jdepend.xml" } } }
reports
in interface Reporting<JDependReports>
configureAction
- The configurationpublic void run()
@Classpath public FileCollection getJdependClasspath()
public void setJdependClasspath(FileCollection jdependClasspath)
public void setClassesDir(File classesDir)
public final JDependReports getReports()
getReports
in interface Reporting<JDependReports>