Class JDepend

    • Constructor Detail

      • JDepend

        public JDepend()
    • Method Detail

      • setClassesDirs

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

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

        public JDependReports reports​(Closure closure)
        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)
        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()
      • getJdependClasspath

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

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

        @Deprecated
        public void setClassesDir​(File classesDir)
        Deprecated.
        Replaced by getClassesDirs().
        The directory containing the classes to be analyzed.