Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose reportDir property in KoverHtmlReport interface #590

Closed
shanshin opened this issue Mar 29, 2024 · 0 comments · Fixed by #591
Closed

Expose reportDir property in KoverHtmlReport interface #590

shanshin opened this issue Mar 29, 2024 · 0 comments · Fixed by #591
Assignees
Labels
Feature Feature request issue type S: untriaged Status: issue reported but unprocessed

Comments

@shanshin
Copy link
Collaborator

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 shanshin added Feature Feature request issue type S: untriaged Status: issue reported but unprocessed labels Mar 29, 2024
@shanshin shanshin self-assigned this Mar 29, 2024
shanshin added a commit that referenced this issue Mar 29, 2024
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.

Resolves #590
shanshin added a commit that referenced this issue Apr 2, 2024
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.

Resolves #590
PR #591
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature request issue type S: untriaged Status: issue reported but unprocessed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant