kotlinx-kover icon indicating copy to clipboard operation
kotlinx-kover copied to clipboard

Add property `variantName` to `KoverReport` interface

Open shanshin opened this issue 1 year ago • 0 comments

What is your use-case and why do you need this feature? Property variantName will help to filter Kover tasks by selecting those that relate to specific variant.

So, to find the HTML report for debug Android build variant:

tasks.withType<KoverHtmlReport>().matching { 
    it.variantName == "debug" 
}

shanshin avatar Mar 28 '24 16:03 shanshin