Owner:
Kotlin Team
Evaluate code coverage for projects written in Kotlin
Version 0.9.1
Created 08 January 2025.
Evaluate code coverage for projects written in Kotlin
Add this plugin to your build using the plugins DSL:
plugins {
id("org.jetbrains.kotlinx.kover") version "0.9.1"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("org.jetbrains.kotlinx.kover:org.jetbrains.kotlinx.kover.gradle.plugin:0.9.1") }It can then be applied in the precompiled script plugin:plugins { id("org.jetbrains.kotlinx.kover") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("org.jetbrains.kotlinx.kover:org.jetbrains.kotlinx.kover.gradle.plugin:0.9.1") } } apply(plugin = "org.jetbrains.kotlinx.kover") - Applying plugins to all subprojects .