Apache Lucene open-source search software
# Run "gradlew writeLocks writeChecksums" after modifying this file!
[versions]
# expressions/ grammars
antlr = "4.13.2"
# test assertions
assertj = "3.27.7"
# analysis/phonetic/ algorithms, gradle build checksums
commons-codec = "1.23.0"
# benchmark/ bzip2 compression
commons-compress = "1.28.0"
# See ecj-lint.gradle (used for more linting).
ecj = "3.46.100"
# java linting
errorprone = "2.50.0"
# markdown documentation generation
flexmark = "0.64.8"
# @keep This is GJF version for java source code formatting
googleJavaFormat = "1.37.0"
# gradle build support
groovy = "6.0.0"
# test assertions
hamcrest = "3.0"
# analysis/icu/, gradle regeneration unicode support
icu4j = "78.3"
# queryparsers/ grammars
javacc = "7.0.13"
# analysis/ tokenizer grammars
jflex = "1.9.1"
# build infra only (diff of changes from google java format tasks)
jgit = "7.8.0.202609011348-r"
# benchmark-jmh/ microbenchmarks
jmh = "1.37"
# spatial-extras/ support
jts = "1.20.0"
# unit tests
junit = "4.13.2"
junit5 = "6.1.3"
# @keep Minimum gradle version to run the build
minGradle = "9.8.1"
# @keep This is the minimum required Java version.
minJava = "25"
# analysis/morfologik polish support
morfologik = "2.2.0"
# analysis/morfologik ukrainian support
morfologik-ukrainian = "4.9.1"
# benchmark/ html parsing
nekohtml = "1.9.22"
# analysis/opennlp/ support
opennlp = "2.5.12"
# distribution.tests/ process management
procfork = "1.0.6"
# unit tests
randomizedtesting = "2.9.2"
randomizedtesting-jupiter = "0.4.0"
# spatial-extras/ support
s2-geometry = "1.0.0"
# spatial-extras/ support
spatial4j = "0.8"
# benchmark/ XML parsing
xerces = "2.12.2"
# external datasets decompression
zstd = "1.5.7-20"
[libraries]
antlr-core = { module = "org.antlr:antlr4", version.ref = "antlr" }
antlr-runtime = { module = "org.antlr:antlr4-runtime", version.ref = "antlr" }
assertj = { module = "org.assertj:assertj-core", version.ref = "assertj" }
commons-codec = { module = "commons-codec:commons-codec", version.ref = "commons-codec" }
commons-compress = { module = "org.apache.commons:commons-compress", version.ref = "commons-compress" }
ecj = { module = "org.eclipse.jdt:ecj", version.ref = "ecj" }
errorprone = { module = "com.google.errorprone:error_prone_core", version.ref = "errorprone" }
flexmark-core = { module = "com.vladsch.flexmark:flexmark", version.ref = "flexmark" }
flexmark-ext-abbreviation = { module = "com.vladsch.flexmark:flexmark-ext-abbreviation", version.ref = "flexmark" }
flexmark-ext-attributes = { module = "com.vladsch.flexmark:flexmark-ext-attributes", version.ref = "flexmark" }
flexmark-ext-autolink = { module = "com.vladsch.flexmark:flexmark-ext-autolink", version.ref = "flexmark" }
flexmark-ext-tables = { module = "com.vladsch.flexmark:flexmark-ext-tables", version.ref = "flexmark" }
gjf = { module = "com.google.googlejavaformat:google-java-format", version.ref = "googleJavaFormat" }
groovy = { module = "org.apache.groovy:groovy-all", version.ref = "groovy" }
hamcrest = { module = "org.hamcrest:hamcrest", version.ref = "hamcrest" }
icu4j = { module = "com.ibm.icu:icu4j", version.ref = "icu4j" }
javacc = { module = "net.java.dev.javacc:javacc", version.ref = "javacc" }
jflex = { module = "de.jflex:jflex", version.ref = "jflex" }
jgit = { module = "org.eclipse.jgit:org.eclipse.jgit", version.ref = "jgit" }
jmh-annprocess = { module = "org.openjdk.jmh:jmh-generator-annprocess", version.ref = "jmh" }
jmh-core = { module = "org.openjdk.jmh:jmh-core", version.ref = "jmh" }
jts = { module = "org.locationtech.jts:jts-core", version.ref = "jts" }
junit = { module = "junit:junit", version.ref = "junit" }
junitplatform-jupiter = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit5" }
junitplatform-launcher = { module = "org.junit.platform:junit-platform-launcher", version.ref = "junit5" }
junitplatform-testkit = { module = "org.junit.platform:junit-platform-testkit", version.ref = "junit5" }
junitplatform-vintage = { module = "org.junit.vintage:junit-vintage-engine", version.ref = "junit5" }
morfologik-polish = { module = "org.carrot2:morfologik-polish", version.ref = "morfologik" }
morfologik-stemming = { module = "org.carrot2:morfologik-stemming", version.ref = "morfologik" }
morfologik-ukrainian = { module = "ua.net.nlp:morfologik-ukrainian-search", version.ref = "morfologik-ukrainian" }
nekohtml = { module = "net.sourceforge.nekohtml:nekohtml", version.ref = "nekohtml" }
opennlp-tools = { module = "org.apache.opennlp:opennlp-tools", version.ref = "opennlp" }
procfork = { module = "com.carrotsearch:procfork", version.ref = "procfork" }
randomizedtesting-jupiter = { module = "com.carrotsearch.randomizedtesting:randomizedtesting-jupiter", version.ref = "randomizedtesting-jupiter" }
randomizedtesting-runner = { module = "com.carrotsearch.randomizedtesting:randomizedtesting-runner", version.ref = "randomizedtesting" }
s2-geometry = { module = "io.sgr:s2-geometry-library-java", version.ref = "s2-geometry" }
spatial4j = { module = "org.locationtech.spatial4j:spatial4j", version.ref = "spatial4j" }
xerces = { module = "xerces:xercesImpl", version.ref = "xerces" }
zstd = { module = "com.github.luben:zstd-jni", version.ref = "zstd" }
[plugins]
carrotsearch-buildopts = "com.carrotsearch.gradle.opts:0.2.3"
carrotsearch-dependencychecks = "com.carrotsearch.gradle.dependencychecks:0.2.4"
errorprone = "net.ltgt.errorprone:5.1.1"
forbiddenapis = "de.thetaphi.forbiddenapis:3.11"
jacocolog = "org.barfuin.gradle.jacocolog:4.0.3"
randomizedtesting = "com.carrotsearch.gradle.randomizedtesting:0.0.6"
spotless = "com.diffplug.spotless:8.10.4"
undercouch-download = "de.undercouch.download:5.7.0"
versionCatalogUpdate = "nl.littlerobots.version-catalog-update:1.1.1"