Correctly implement JMH and fix singular Benchmarks not running.

This commit is contained in:
Articdive 2022-01-04 20:46:43 +01:00 committed by TheMode
parent e62bcc6dbb
commit dee18150de
2 changed files with 15 additions and 4 deletions

View File

@ -23,15 +23,20 @@ gson = "2.8.9"
guava = "31.0.1-jre"
jcTools = "3.3.0"
# Test
junit-jupiter = "5.8.2"
mockito = "4.2.0"
# Code Generation
javaPoet = "1.13.0"
# Demo
jNoise = "3.0.1"
# Test
junit-jupiter = "5.8.2"
mockito = "4.2.0"
# JMH
jmh = "1.34"
[libraries]
@ -81,6 +86,10 @@ javaPoet = { group = "com.squareup", name = "javapoet", version.ref = "javaPoet"
# Demo
jNoise = { group = "com.github.Articdive", name = "JNoise", version.ref = "jNoise" }
# JMH
jmh-core = { group = "org.openjdk.jmh", name= "jmh-core", version.ref = "jmh" }
jmh-annotationprocessor = { group = "org.openjdk.jmh", name= "jmh-generator-annprocess", version.ref = "jmh" }
[bundles]
kotlin = ["kotlin-stdlib-jdk8", "kotlin-reflect"]

View File

@ -4,5 +4,7 @@ plugins {
}
dependencies {
implementation(rootProject)
jmhImplementation(rootProject)
jmh(libs.jmh.core)
jmhAnnotationProcessor(libs.jmh.annotationprocessor)
}