Groovy Documentation

org.ajoberstar.gradle.jacoco.tasks
[Groovy] Class JacocoReport

java.lang.Object
  org.gradle.api.DefaultTask
      org.ajoberstar.gradle.jacoco.tasks.JacocoBase
          org.ajoberstar.gradle.jacoco.tasks.JacocoReport

class JacocoReport
extends JacocoBase

Task to generate HTML reports of Jacoco coverage data.


Property Summary
FileCollection classFiles

Collection of class files to get coverage data for.

java.lang.Object destPath

Path to write report to.

FileCollection executionData

Collection of execution data files to analyze.

FileCollection sourceFiles

Collection of source files for classFiles.

 
Method Summary
void generate()

java.io.File getDestDir()

Gets the directory to write the report to.

 

Property Detail

classFiles

@InputFiles
FileCollection classFiles
Collection of class files to get coverage data for.


destPath

java.lang.Object destPath
Path to write report to. Defaults to build/reports/jacoco/.


executionData

@InputFiles
FileCollection executionData
Collection of execution data files to analyze.


sourceFiles

@InputFiles
FileCollection sourceFiles
Collection of source files for classFiles.


 
Method Detail

generate

@TaskAction
void generate()


getDestDir

@OutputDirectory
java.io.File getDestDir()
Gets the directory to write the report to.


 

Groovy Documentation