mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-29 22:27:31 +00:00
build(test): 增加 Kover 测试覆盖率插件, 升级 Mockk 依赖项版本(1.12.3 -> 1.12.4).
Kover 是 Kotlin 官方为弥补 Kotlin 不能使用 Jacoco 所推出的替代品, 目前使用上没有问题. 顺便更新一下 Mockk 版本.
This commit is contained in:
parent
9c05726849
commit
7e48f4bf0b
@ -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")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user