From 83111460efe9c42041d8110a0d29203f24f5d372 Mon Sep 17 00:00:00 2001 From: breus Date: Sun, 10 Dec 2023 18:48:03 +0100 Subject: [PATCH] Add missing JMH dependencies to run from IntelliJ --- build.gradle | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 4d258d56..fb4a903e 100644 --- a/build.gradle +++ b/build.gradle @@ -26,6 +26,7 @@ repositories { ext { jUnitVersion = '5.10.1' + jmhVersion = '1.37' } java { @@ -37,12 +38,16 @@ java { } dependencies { - nullabilityAnnotationsImplementation 'com.google.code.findbugs:jsr305:3.0.2' + nullabilityAnnotationsImplementation "com.google.code.findbugs:jsr305:3.0.2" - testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.16.0' + testImplementation "com.fasterxml.jackson.core:jackson-databind:2.16.0" testImplementation "org.junit.jupiter:junit-jupiter-api:${jUnitVersion}" testImplementation "org.junit.jupiter:junit-jupiter-params:${jUnitVersion}" testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${jUnitVersion}" + + jmh "org.openjdk.jmh:jmh-core:${jmhVersion}" + jmh "org.openjdk.jmh:jmh-generator-annprocess:${jmhVersion}" + jmhAnnotationProcessor "org.openjdk.jmh:jmh-generator-annprocess:${jmhVersion}" } test {