mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
(slop) Clean up build.gradle from unnecessary copy-paste garbage
This commit is contained in:
parent
1caad7e19e
commit
314a901bf0
@ -1,6 +1,5 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id "me.champeau.jmh" version "0.6.6"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
@ -17,11 +16,9 @@ dependencies {
|
|||||||
|
|
||||||
implementation libs.notnull
|
implementation libs.notnull
|
||||||
implementation libs.commons.lang3
|
implementation libs.commons.lang3
|
||||||
implementation libs.fastutil
|
|
||||||
implementation libs.lz4
|
implementation libs.lz4
|
||||||
implementation libs.guava
|
|
||||||
implementation libs.commons.compress
|
implementation libs.commons.compress
|
||||||
|
implementation libs.zstd
|
||||||
|
|
||||||
testImplementation libs.bundles.slf4j.test
|
testImplementation libs.bundles.slf4j.test
|
||||||
testImplementation libs.bundles.junit
|
testImplementation libs.bundles.junit
|
||||||
@ -30,17 +27,6 @@ dependencies {
|
|||||||
testImplementation libs.sqlite
|
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 {
|
test {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user