JDepend

API Documentation:JDepend

Note: This class is deprecated and will be removed in the next major version of Gradle.

Analyzes code with JDepend.

Properties

PropertyDescription
classesDirs

The directories containing the classes to be analyzed.

jdependClasspath

The class path containing the JDepend library to be used.

reports

The reports to be generated by this task.

Methods

MethodDescription
reports(configureAction)

Configures the reports to be generated by this task. The contained reports can be configured by name and closures. Example:

Script blocks

BlockDescription
reports

Configures the reports to be generated by this task. The contained reports can be configured by name and closures. Example:

Property details

FileCollection classesDirs

The directories containing the classes to be analyzed.

Default with jdepend plugin:
sourceSet.output.classesDirs

FileCollection jdependClasspath

The class path containing the JDepend library to be used.

Default with jdepend plugin:
project.configurations.jdepend

JDependReports reports (read-only)

The reports to be generated by this task.

Method details

JDependReports reports(Action<? super JDependReports> configureAction)

Configures the reports to be generated by this task. The contained reports can be configured by name and closures. Example:

jdependTask {
  reports {
    xml {
      destination "build/jdepend.xml"
    }
  }
}

Script block details

reports { }

Configures the reports to be generated by this task. The contained reports can be configured by name and closures. Example:

jdependTask {
  reports {
    xml {
      destination "build/jdepend.xml"
    }
  }
}
Delegates to:
JDependReports from reports