WatchdogReports

abstract class WatchdogReports(source)

The formats of the API Watchdog report. Each format has a switch and a file:

apiWatchdog {
reports {
html = false
sarifFile = layout.buildDirectory.file("reports/watchdog.sarif")
}
}

Properties

Link copied to clipboard
@get:Input
abstract val html: Property<Boolean>

Whether the task writes the HTML report. Default is true.

Link copied to clipboard
@get:Internal
abstract val htmlFile: RegularFileProperty

The HTML report file. Default is build/reports/api-watchdog/report.html, or aggregate-report.html for the aggregation task.

Link copied to clipboard
@get:Input
abstract val sarif: Property<Boolean>

Whether the task writes the SARIF 2.1.0 report for a code scanning service. Default is true.

Link copied to clipboard
@get:Internal
abstract val sarifFile: RegularFileProperty

The SARIF report file. Default is build/reports/api-watchdog/report.sarif, or aggregate-report.sarif for the aggregation task.