Class JDepend

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.plugins.quality.JDepend
All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Reporting<JDependReports>, Task, org.gradle.util.Configurable<Task>

@CacheableTask @Deprecated public class JDepend extends DefaultTask implements Reporting<JDependReports>
Deprecated.
JDepend is unmaintained and does not support bytecode compiled for Java 8 and above.
Analyzes code with JDepend.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface Task

    Task.Namer
  • Field Summary

  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gradle.api.internal.project.IsolatedAntBuilder
    Deprecated.
     
    Deprecated.
    The directories containing the classes to be analyzed.
    Deprecated.
    The class path containing the JDepend library to be used.
    protected ObjectFactory
    Deprecated.
     
    Deprecated.
    The reports to be generated by this task.
    reports(Closure closure)
    Deprecated.
    Configures the reports to be generated by this task.
    reports(Action<? super JDependReports> configureAction)
    Deprecated.
    Configures the reports to be generated by this task.
    void
    run()
    Deprecated.
     
    void
    Deprecated.
    The directories containing the classes to be analyzed.
    void
    Deprecated.
    The class path containing the JDepend library to be used.

    Methods inherited from class org.gradle.api.internal.AbstractTask

    appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • JDepend

      public JDepend()
      Deprecated.
  • Method Details

    • getClassesDirs

      Deprecated.
      The directories containing the classes to be analyzed.
      Since:
      4.0
    • setClassesDirs

      public void setClassesDirs(FileCollection classesDirs)
      Deprecated.
      The directories containing the classes to be analyzed.
      Since:
      4.0
    • getObjectFactory

      @Inject protected ObjectFactory getObjectFactory()
      Deprecated.
    • getAntBuilder

      @Inject public org.gradle.api.internal.project.IsolatedAntBuilder getAntBuilder()
      Deprecated.
    • reports

      public JDependReports reports(Closure closure)
      Deprecated.
      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"
          }
        }
      }
      
      Specified by:
      reports in interface Reporting<JDependReports>
      Parameters:
      closure - The configuration
      Returns:
      The reports container
    • reports

      public JDependReports reports(Action<? super JDependReports> configureAction)
      Deprecated.
      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"
          }
        }
      }
      
      Specified by:
      reports in interface Reporting<JDependReports>
      Parameters:
      configureAction - The configuration
      Returns:
      The reports container
    • run

      public void run()
      Deprecated.
    • getJdependClasspath

      @Classpath public FileCollection getJdependClasspath()
      Deprecated.
      The class path containing the JDepend library to be used.
    • setJdependClasspath

      public void setJdependClasspath(FileCollection jdependClasspath)
      Deprecated.
      The class path containing the JDepend library to be used.
    • getReports

      public final JDependReports getReports()
      Deprecated.
      The reports to be generated by this task.
      Specified by:
      getReports in interface Reporting<JDependReports>
      Returns:
      The report container