Enhancer for the JDepend plugin. The enhancer replaces the default JDepend library with the guru-nidi fork.
The JDepend extension is enhanced with two properties that control the version of the guru-nidi fork to use and the version of the Ant task to use.
The JDepend tasks will be enhanced with the possibility to use a properties file specified in the task property "jdependProperties.file". This file contains runtime options for JDepend as described in the documentation.
Each task will also have a TransformingReport added to its convention. This report will,
if enabled, create an HTML report from the XML report by applying an XSL transformation.
| Constructor and description |
|---|
JDependEnhancer
(org.gradle.api.Project pProject) |
| Type | Name and description |
|---|---|
void |
configureExtension()Configure the JDepend extension with some opinionated defaults. |
org.gradle.api.artifacts.Dependency |
createAntTaskDependency(java.lang.String pVersion)Create a dependency for the JDepend Ant task with the transitive dependency on JDepend excluded. |
AbstractCheckTaskEnhancer<org.gradle.api.plugins.quality.JDepend> |
createTaskEnhancer(org.gradle.api.plugins.quality.JDepend pTask) |
void |
enhance() |
java.lang.Class<org.gradle.api.plugins.quality.JDepend> |
getTaskClass() |
| Methods inherited from class | Name |
|---|---|
class AbstractPluginEnhancer |
configureCodeQualityExtension, configureExtension, createTaskEnhancer, createTemporaryFileSpec, enhance, getTaskClass, removeTestSourceSet |
class ProjectAware |
getProject |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Configure the JDepend extension with some opinionated defaults.
Create a dependency for the JDepend Ant task with the transitive dependency on JDepend excluded.
pVersion - The version of the dependency.Dependency.