2023-10-08 17:31:50 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
|
|
|
|
id 'com.palantir.docker' version '0.35.0'
|
|
|
|
id 'application'
|
|
|
|
id 'jvm-test-suite'
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass = 'nu.marginalia.query.QueryMain'
|
|
|
|
applicationName = 'query-service'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.distZip.enabled = false
|
|
|
|
|
|
|
|
apply from: "$rootProject.projectDir/docker-service.gradle"
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(':code:common:config')
|
|
|
|
implementation project(':code:common:model')
|
|
|
|
implementation project(':code:common:db')
|
|
|
|
implementation project(':code:common:service')
|
2023-10-08 22:22:26 +02:00
|
|
|
implementation project(':code:common:service-client')
|
2023-10-08 17:31:50 +02:00
|
|
|
implementation project(':code:api:index-api')
|
2023-10-09 13:27:44 +02:00
|
|
|
implementation project(':code:api:query-api')
|
2023-10-08 17:31:50 +02:00
|
|
|
implementation project(':code:common:service-discovery')
|
2023-10-09 13:27:44 +02:00
|
|
|
implementation project(':code:features-search:query-parser')
|
|
|
|
implementation project(':code:features-index:index-query')
|
|
|
|
implementation project(':code:libraries:language-processing')
|
|
|
|
implementation project(':code:libraries:term-frequency-dict')
|
2023-10-08 17:31:50 +02:00
|
|
|
|
|
|
|
implementation libs.bundles.slf4j
|
|
|
|
|
2023-10-08 22:22:26 +02:00
|
|
|
implementation libs.spark
|
|
|
|
implementation libs.gson
|
2023-10-08 17:31:50 +02:00
|
|
|
implementation libs.prometheus
|
|
|
|
implementation libs.notnull
|
|
|
|
implementation libs.guice
|
|
|
|
implementation libs.protobuf
|
|
|
|
implementation libs.rxjava
|
2023-10-09 13:27:44 +02:00
|
|
|
implementation libs.bundles.mariadb
|
2023-10-08 17:31:50 +02:00
|
|
|
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
|
|
testImplementation libs.bundles.junit
|
|
|
|
testImplementation libs.mockito
|
|
|
|
|
|
|
|
}
|
|
|
|
|