mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00

Roll back to JDK 21 for now, and make Java version configurable in the root build.gradle The project has run into no less than three distinct show-stopping bugs in JDK22, across multiple vendors, and gradle still doesn't fully support it, meaning you need multiple JDK versions installed.
32 lines
811 B
Groovy
32 lines
811 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(rootProject.ext.jvmVersion))
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation libs.bundles.nlp
|
|
implementation libs.zstd
|
|
implementation libs.commons.compress
|
|
implementation libs.ffi
|
|
implementation libs.databind
|
|
implementation libs.bundles.gson
|
|
|
|
implementation 'org.apache.opennlp:opennlp-tools:1.9.4'
|
|
implementation 'edu.stanford.nlp:stanford-corenlp:4.4.0'
|
|
|
|
implementation 'com.github.luben:zstd-jni:1.5.2-2'
|
|
implementation 'org.apache.commons:commons-compress:1.21'
|
|
implementation 'com.github.jnr:jnr-ffi:2.2.12'
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.2.1'
|
|
implementation 'com.google.code.gson:gson:2.9.0'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|