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

How to create the "total report" in an Android MultiModule project #710

Open
OneFiveFour opened this issue Nov 23, 2024 · 0 comments
Open
Assignees
Labels
Question Support request issue type S: untriaged Status: issue reported but unprocessed

Comments

@OneFiveFour
Copy link

OneFiveFour commented Nov 23, 2024

Describe what you would like to clarify about Kover

I sucessfully added kover to my Android mutlimodule project as convention plugin (see below). The Kover documentation states multiple times that Kover is able to create a "total report" containing all results from all modules in one report. This is exactly what I want, but I cannot find how to get to this kind of report. Currently each module gets its own report.
An example or more information about that in the documentation would be highly appreciated!

applied to each feature module (JVM/Kotlin-only as well as Android-modules):

class KoverPlugin : Plugin<Project> {
    override fun apply(target: Project) {
        with(target) {
            pluginManager.apply("org.jetbrains.kotlinx.kover")

            subprojects {
                pluginManager.apply("org.jetbrains.kotlinx.kover")
            }
        }
    }
}

libs.version.toml

kover = "0.8.3"

[libraries]
kover-gradlePlugin = { module = "org.jetbrains.kotlinx:kover-gradle-plugin", version.ref = "kover" }

[plugins]
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }

app.build.gradle

plugins {
    alias(libs.plugins.kover)
}
@OneFiveFour OneFiveFour added Question Support request issue type S: untriaged Status: issue reported but unprocessed labels Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Support request issue type S: untriaged Status: issue reported but unprocessed
Projects
None yet
Development

No branches or pull requests

2 participants