Kover 0.9.1
This commit is contained in:
parent
78d7681445
commit
f75eef14e6
|
@ -1,19 +1,20 @@
|
|||
import kotlinx.kover.gradle.plugin.dsl.KoverProjectExtension
|
||||
|
||||
pluginManager.withPlugin("org.jetbrains.kotlinx.kover") {
|
||||
extensions.findByType<kotlinx.kover.gradle.plugin.dsl.KoverProjectExtension>()?.apply {
|
||||
extensions.configure<KoverProjectExtension>("kover") {
|
||||
if (!project.property("IS_KOTLIN_TEST_COVERAGE_ENABLED").toString().toBoolean()) {
|
||||
disable()
|
||||
}
|
||||
}
|
||||
|
||||
extensions.findByType<kotlinx.kover.gradle.plugin.dsl.KoverReportExtension>()?.apply {
|
||||
defaults {
|
||||
reports {
|
||||
total {
|
||||
html {
|
||||
onCheck = true
|
||||
setReportDir(layout.buildDirectory.dir("kover/html"))
|
||||
htmlDir = layout.buildDirectory.dir("kover/html")
|
||||
}
|
||||
xml {
|
||||
onCheck = true
|
||||
setReportFile(layout.buildDirectory.file("kover/xml/report.xml"))
|
||||
xmlFile = layout.buildDirectory.file("kover/xml/report.xml")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -202,7 +202,7 @@ KOTLINX_COROUTINES_VERSION=1.10.1
|
|||
KOTLINX_DATETIME_VERSION=0.5.0
|
||||
KOTLINX_IMMUTABLE_COLLECTIONS_VERSION=0.3.8
|
||||
KOTLINX_SERIALIZABLE_JSON_VERSION=1.8.0
|
||||
KOVER_VERSION=0.7.3
|
||||
KOVER_VERSION=0.9.1
|
||||
LOTTIE_VERSION=6.6.3
|
||||
MARKDOWN_VERSION=0.7.3
|
||||
MLKIT_SCANNING_VERSION=17.3.0
|
||||
|
|
Loading…
Reference in New Issue