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 Params | Return 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 org.myire.quill.common.ProjectAware |
org.myire.quill.common.ProjectAware#getProject(), org.myire.quill.common.ProjectAware#getProjectLogger(), org.myire.quill.common.ProjectAware#wait(long, int), org.myire.quill.common.ProjectAware#wait(long), org.myire.quill.common.ProjectAware#wait(), org.myire.quill.common.ProjectAware#equals(java.lang.Object), org.myire.quill.common.ProjectAware#toString(), org.myire.quill.common.ProjectAware#hashCode(), org.myire.quill.common.ProjectAware#getClass(), org.myire.quill.common.ProjectAware#notify(), org.myire.quill.common.ProjectAware#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.