Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit cfa2490

Browse files
committed
テスト系の内容を追加
1 parent bf5d824 commit cfa2490

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
plugins {
22
kotlin("jvm") version "1.4.10"
3+
id("org.jlleitschuh.gradle.ktlint") version "9.4.1"
4+
id("jacoco")
35
}
46

57
group = "com.mapk"
@@ -31,7 +33,16 @@ tasks {
3133
jvmTarget = "1.8"
3234
}
3335
}
36+
jacocoTestReport {
37+
reports {
38+
xml.isEnabled = true
39+
csv.isEnabled = false
40+
html.isEnabled = true
41+
}
42+
}
3443
test {
3544
useJUnitPlatform()
45+
// テスト終了時にjacocoのレポートを生成する
46+
finalizedBy(jacocoTestReport)
3647
}
3748
}

0 commit comments

Comments
 (0)