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

Commit 4005354

Browse files
committed
jmh関連を追加
1 parent c7e3035 commit 4005354

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ plugins {
33
kotlin("jvm") version "1.4.20"
44
id("org.jlleitschuh.gradle.ktlint") version "9.4.1"
55
id("jacoco")
6+
id("me.champeau.gradle.jmh") version "0.5.2"
67
}
78

89
group = "com.mapk"
@@ -20,6 +21,8 @@ dependencies {
2021
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter", version = "5.7.0") {
2122
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
2223
}
24+
25+
implementation(group = "org.openjdk.jmh", name = "jmh-core", version = "1.26")
2326
}
2427

2528
tasks {
@@ -34,6 +37,10 @@ tasks {
3437
jvmTarget = "1.8"
3538
}
3639
}
40+
// https://qiita.com/wrongwrong/items/16fa10a7f78a31830ed8
41+
jmhJar {
42+
exclude("META-INF/versions/9/module-info.class")
43+
}
3744
jacocoTestReport {
3845
reports {
3946
xml.isEnabled = true

0 commit comments

Comments
 (0)