(slop) Clean up build.gradle from unnecessary copy-paste garbage

This commit is contained in:
Viktor Lofgren 2024-07-28 13:22:20 +02:00
parent 1caad7e19e
commit 314a901bf0

View File

@ -1,6 +1,5 @@
plugins {
id 'java'
id "me.champeau.jmh" version "0.6.6"
}
java {
@ -17,11 +16,9 @@ dependencies {
implementation libs.notnull
implementation libs.commons.lang3
implementation libs.fastutil
implementation libs.lz4
implementation libs.guava
implementation libs.commons.compress
implementation libs.zstd
testImplementation libs.bundles.slf4j.test
testImplementation libs.bundles.junit
@ -30,17 +27,6 @@ dependencies {
testImplementation libs.sqlite
}
jmh {
jvmArgs = [ "--enable-preview" ]
}
tasks.withType(me.champeau.jmh.WithJavaToolchain).configureEach {
javaLauncher.set(javaToolchains.launcherFor {
languageVersion.set(JavaLanguageVersion.of(rootProject.ext.jvmVersion))
})
}
tasks.withType(me.champeau.jmh.JmhBytecodeGeneratorTask).configureEach {
jvmArgs = ["--enable-preview"]
}
test {
useJUnitPlatform()
}