2023-03-04 13:19:01 +01:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2023-09-23 11:01:43 +02:00
|
|
|
|
2023-08-23 15:30:55 +02:00
|
|
|
id 'com.palantir.docker' version '0.35.0'
|
2023-03-04 13:19:01 +01:00
|
|
|
id 'application'
|
|
|
|
id 'jvm-test-suite'
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass = 'nu.marginalia.index.IndexMain'
|
|
|
|
applicationName = 'index-service'
|
|
|
|
}
|
|
|
|
|
2023-03-11 11:34:51 +01:00
|
|
|
tasks.distZip.enabled = false
|
|
|
|
|
2023-03-04 13:19:01 +01:00
|
|
|
apply from: "$rootProject.projectDir/docker-service.gradle"
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
2023-09-23 11:01:43 +02:00
|
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
2023-03-04 13:19:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
2023-03-07 17:14:32 +01:00
|
|
|
implementation project(':code:common:config')
|
|
|
|
implementation project(':code:common:model')
|
2023-07-14 17:08:10 +02:00
|
|
|
implementation project(':code:common:db')
|
2023-10-08 16:42:18 +02:00
|
|
|
implementation project(':code:common:linkdb')
|
2023-03-07 17:14:32 +01:00
|
|
|
implementation project(':code:common:service')
|
|
|
|
implementation project(':code:api:index-api')
|
|
|
|
implementation project(':code:common:service-discovery')
|
2023-03-04 13:19:01 +01:00
|
|
|
|
2023-03-07 17:14:32 +01:00
|
|
|
implementation project(':code:libraries:array')
|
|
|
|
implementation project(':code:libraries:btree')
|
2023-03-04 13:19:01 +01:00
|
|
|
|
2023-03-12 10:50:31 +01:00
|
|
|
implementation project(':code:features-index:index-journal')
|
|
|
|
implementation project(':code:features-index:index-query')
|
|
|
|
implementation project(':code:features-index:index-forward')
|
|
|
|
implementation project(':code:features-index:index-reverse')
|
|
|
|
implementation project(':code:features-index:domain-ranking')
|
2023-10-09 15:12:30 +02:00
|
|
|
implementation project(':code:features-index:result-ranking')
|
2023-08-28 12:58:18 +02:00
|
|
|
implementation project(':third-party:commons-codec')
|
|
|
|
testImplementation project(path: ':code:services-core:control-service')
|
|
|
|
testImplementation project(':code:common:process')
|
2023-09-23 11:01:43 +02:00
|
|
|
|
2023-03-04 13:19:01 +01:00
|
|
|
implementation libs.bundles.slf4j
|
|
|
|
|
|
|
|
implementation libs.prometheus
|
|
|
|
implementation libs.notnull
|
|
|
|
implementation libs.guice
|
|
|
|
implementation libs.protobuf
|
|
|
|
implementation libs.bundles.httpcomponents
|
|
|
|
implementation libs.roaringbitmap
|
|
|
|
implementation libs.snakeyaml
|
|
|
|
implementation libs.rxjava
|
|
|
|
implementation libs.spark
|
|
|
|
implementation libs.opencsv
|
|
|
|
implementation libs.trove
|
|
|
|
implementation libs.fastutil
|
|
|
|
implementation libs.bundles.gson
|
2023-10-24 11:09:12 +02:00
|
|
|
implementation libs.bundles.grpc
|
2023-03-04 13:19:01 +01:00
|
|
|
implementation libs.bundles.mariadb
|
|
|
|
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
|
|
testImplementation libs.bundles.junit
|
|
|
|
testImplementation libs.mockito
|
|
|
|
|
|
|
|
}
|
|
|
|
|