Kotlin / kotlinx-kover

Apache License 2.0
1.25k stars 46 forks source link

Expose `reportDir` property in `KoverHtmlReport` interface #590

Closed shanshin closed 1 month ago

shanshin commented 1 month ago

What is your use-case and why do you need this feature? if there is a need to analyze the HTML report after it is generated, or if you need to improve the report (for example, by editing CSS styles), you need to know the directory of each report. Currently, it is not possible to easily link a specific report generation task and a directory.

Describe the solution you'd like Add property reportDir interface kotlinx.kover.gradle.plugin.dsl.tasks.KoverHtmlReport

interface KoverHtmlReport: KoverReport {
    val reportDir: Provider<Directory>
}

Also, use case described in comment.

shanshin commented 2 days ago

Implemented in 0.8.0