CatgirlIntelligenceAgency/code/libraries/array/build.gradle
Viktor Lofgren 6a1bfd6270 (array) Remove unused 'madvise' code and 3rd party dependency on 'uppend'
This wasn't actually hooked in anywhere.  Removing the dependency and code.  If it turns out we need madvise in the future, we'll re-introducde it.
2024-01-22 13:01:57 +01:00

40 lines
868 B
Groovy

plugins {
id 'java'
id "me.champeau.jmh" version "0.6.6"
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
dependencies {
implementation libs.bundles.slf4j
implementation libs.notnull
implementation libs.commons.lang3
implementation libs.fastutil
implementation libs.lz4
implementation libs.guava
testImplementation libs.bundles.slf4j.test
testImplementation libs.bundles.junit
testImplementation libs.mockito
}
jmh {
jvmArgs = [ "--enable-preview" ]
}
tasks.withType(me.champeau.jmh.WithJavaToolchain).configureEach {
javaLauncher.set(javaToolchains.launcherFor {
languageVersion.set(JavaLanguageVersion.of(21))
})
}
tasks.withType(me.champeau.jmh.JmhBytecodeGeneratorTask).configureEach {
jvmArgs = ["--enable-preview"]
}
test {
useJUnitPlatform()
}