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

Uses duckdb and range queries to read the parquet files directly from the index partitions. UX is a bit rough but is in working order.
71 lines
2.0 KiB
Groovy
71 lines
2.0 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
id 'jvm-test-suite'
|
|
id 'com.google.cloud.tools.jib' version '3.4.2'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(rootProject.ext.jvmVersion))
|
|
}
|
|
}
|
|
|
|
application {
|
|
mainClass = 'nu.marginalia.control.ControlMain'
|
|
applicationName = 'control-service'
|
|
}
|
|
|
|
tasks.distZip.enabled = false
|
|
|
|
apply from: "$rootProject.projectDir/docker.gradle"
|
|
|
|
|
|
apply from: "$rootProject.projectDir/srcsets.gradle"
|
|
|
|
dependencies {
|
|
implementation libs.bundles.gson
|
|
|
|
implementation project(':code:common:db')
|
|
implementation project(':code:common:model')
|
|
implementation project(':code:common:service')
|
|
implementation project(':code:common:config')
|
|
implementation project(':code:common:renderer')
|
|
implementation project(':code:libraries:message-queue')
|
|
implementation project(':code:functions:search-query:api')
|
|
implementation project(':code:execution:api')
|
|
implementation project(':code:index:api')
|
|
implementation project(':code:process-mqapi')
|
|
implementation project(':code:features-search:screenshots')
|
|
implementation project(':code:index:index-journal')
|
|
implementation project(':code:index:query')
|
|
|
|
implementation project(':code:process-models:crawl-spec')
|
|
|
|
implementation libs.bundles.slf4j
|
|
|
|
implementation libs.prometheus
|
|
implementation libs.notnull
|
|
implementation libs.guice
|
|
implementation libs.zstd
|
|
implementation libs.handlebars
|
|
|
|
implementation libs.duckdb
|
|
|
|
implementation libs.trove
|
|
implementation libs.spark
|
|
implementation libs.fastutil
|
|
implementation libs.commons.io
|
|
implementation libs.bundles.mariadb
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
testImplementation libs.bundles.junit
|
|
testImplementation libs.mockito
|
|
testImplementation platform('org.testcontainers:testcontainers-bom:1.17.4')
|
|
testImplementation 'org.testcontainers:mariadb:1.17.4'
|
|
testImplementation 'org.testcontainers:junit-jupiter:1.17.4'
|
|
testImplementation project(':code:libraries:test-helpers')
|
|
}
|
|
|
|
|