SerialkompatReports

abstract class SerialkompatReports @Inject constructor(objects: ObjectFactory)

The serialkompat { reports { … } } block: selects which machine-readable formats the pairwise serialkompatCheck/serialkompatCheckAgainst writes (#122). Modeled on Gradle's own reports { } (a nested block, not flat flags) so formats can grow without a breaking .api change.

Defaults preserve current behavior: json on, sarif off, both under build/serialkompat/. SARIF uses logical locations only (no file:line); GitHub code scanning is out of scope (#122).

Constructors

Link copied to clipboard
@Inject
constructor(objects: ObjectFactory)

Properties

Link copied to clipboard

The versioned JSON report (report.json). On by default.

Link copied to clipboard

The SARIF 2.1.0 report (report.sarif), for IDEs / SARIF dashboards. Off by default.

Functions

Link copied to clipboard
fun json(action: Action<in SerialkompatReport>)

Configures the json report: reports { json { required.set(false) } }.

Link copied to clipboard
fun sarif(action: Action<in SerialkompatReport>)

Configures the sarif report: reports { sarif { required.set(true) } }.