mirror of https://github.com/Minestom/Minestom.git
Correctly implement JMH and fix singular Benchmarks not running.
This commit is contained in:
parent
e62bcc6dbb
commit
dee18150de
|
@ -23,15 +23,20 @@ gson = "2.8.9"
|
||||||
guava = "31.0.1-jre"
|
guava = "31.0.1-jre"
|
||||||
jcTools = "3.3.0"
|
jcTools = "3.3.0"
|
||||||
|
|
||||||
|
# Test
|
||||||
|
junit-jupiter = "5.8.2"
|
||||||
|
mockito = "4.2.0"
|
||||||
|
|
||||||
# Code Generation
|
# Code Generation
|
||||||
javaPoet = "1.13.0"
|
javaPoet = "1.13.0"
|
||||||
|
|
||||||
# Demo
|
# Demo
|
||||||
jNoise = "3.0.1"
|
jNoise = "3.0.1"
|
||||||
|
|
||||||
# Test
|
# JMH
|
||||||
junit-jupiter = "5.8.2"
|
jmh = "1.34"
|
||||||
mockito = "4.2.0"
|
|
||||||
|
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
|
|
||||||
|
@ -81,6 +86,10 @@ javaPoet = { group = "com.squareup", name = "javapoet", version.ref = "javaPoet"
|
||||||
# Demo
|
# Demo
|
||||||
jNoise = { group = "com.github.Articdive", name = "JNoise", version.ref = "jNoise" }
|
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]
|
[bundles]
|
||||||
|
|
||||||
kotlin = ["kotlin-stdlib-jdk8", "kotlin-reflect"]
|
kotlin = ["kotlin-stdlib-jdk8", "kotlin-reflect"]
|
||||||
|
|
|
@ -4,5 +4,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(rootProject)
|
jmhImplementation(rootProject)
|
||||||
|
jmh(libs.jmh.core)
|
||||||
|
jmhAnnotationProcessor(libs.jmh.annotationprocessor)
|
||||||
}
|
}
|
Loading…
Reference in New Issue