variant

abstract fun variant(variant: String, config: Action<KoverReportSetConfig>)(source)

Configure reports for classes of specified named Kover report variant.

example:

kover {
reports {
variant("debug") {
filters {
// override report filters for reports of 'debug' variant
}

html {
// configure HTML report for 'debug' variant
}

xml {
// configure XML report for 'debug' variant
}

verify {
// configure coverage verification for 'debug' variant
}
}
}
}