build(test): 增加 Kover 测试覆盖率插件, 升级 Mockk 依赖项版本(1.12.3 -> 1.12.4).

Kover 是 Kotlin 官方为弥补 Kotlin 不能使用 Jacoco 所推出的替代品, 目前使用上没有问题.
顺便更新一下 Mockk 版本.
This commit is contained in:
LamGC 2022-06-15 01:20:35 +08:00
parent 9c05726849
commit 7e48f4bf0b
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -3,6 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.6.10"
application
id("org.jetbrains.kotlinx.kover") version "0.5.1"
// id("org.jetbrains.kotlin") version "1.6.10"
}
@ -35,7 +36,7 @@ dependencies {
implementation("io.prometheus:simpleclient_httpserver:0.15.0")
testImplementation(kotlin("test"))
testImplementation("io.mockk:mockk:1.12.3")
testImplementation("io.mockk:mockk:1.12.4")
testImplementation("com.github.stefanbirkner:system-lambda:1.2.1")
}