Skip to content

Empty report when using Kover Aggregated 0.9.5, Hilt 2.59 and AGP 9.0.0 #792

Closed

Description

@gdesantos

Describe the bug
After upgrading all my dependencies to latest versions, Kover have started to generate empty reports (HTML or XML)

I have isolated the issue in a project from scratch.
If KSP and Hilt plugins are not added, the report is generated.
When I enable KSP and Hilt, the report is empty.

You can find the repo to test here: https://github.com/gdesantos/kover-test

The main branch is generating the report.
The branch report-not-working is generating an empty report

The command I'm using to generate the reports:
./gradlew clean testDebugUnitTest -Pkover koverHtmlReport koverXmlReport

Hilt is not being used in any test, it is just added as a dependency

Expected behavior
Reports generated when enabling Hilt/Ksp plugins should be the same as without the plugins

Reproducer
https://github.com/gdesantos/kover-test

Reports

Image Image

Environment

  • Kover Gradle Plugin version: 0.9.5
  • Gradle version: 9.0.0
  • Kotlin project type: Kotlin/Android
  • Hilt: 2.59
  • Ksp: 2.3.4
  • Other context important for this bug: Using Kover Agreggated Plugin

Activity

  1. added
    Bug
    S: untriaged
    on Feb 2, 2026
  2. added
    S: confirmed
    and removed
    S: untriaged
    on Feb 2, 2026
  3. added theissue type on Feb 2, 2026
  4. added
    S: in progress
    and removed
    S: confirmed
    on Feb 2, 2026
  5. added a commit that references this issue on Feb 3, 2026
    197b816
  6. added
    S: ready for release
    and removed
    S: in progress
    on Feb 3, 2026
  7. added a commit that references this issue on Feb 4, 2026
    2429f3b
  8. shanshin commented on Feb 4, 2026

    @shanshin
    Collaborator

    Fixed in 0.9.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugS: ready for release

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions