Created
March 5, 2024 14:29
-
-
Save 0neel/047307133cef9572a19fc73abb4edea2 to your computer and use it in GitHub Desktop.
kotlinx-kover 0.7.6 merged report setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.android.build.gradle.api.AndroidBasePlugin | |
subprojects { | |
apply plugin: "org.jetbrains.kotlinx.kover" | |
plugins.withType(AndroidBasePlugin) { | |
configurations.implementation { | |
dependencies.withType(ProjectDependency) { | |
project.dependencies.kover dependencyProject | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It configures Kover for every Gradle module and makes them include coverage from all of their dependencies.