2023-07-03 10:40:32 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2023-09-23 11:01:43 +02:00
|
|
|
|
2023-07-03 10:40:32 +02:00
|
|
|
id 'application'
|
2023-08-23 15:30:55 +02:00
|
|
|
id 'com.palantir.docker' version '0.35.0'
|
2023-07-03 10:40:32 +02:00
|
|
|
id 'jvm-test-suite'
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
2023-09-23 11:01:43 +02:00
|
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
2023-07-03 10:40:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass = 'nu.marginalia.control.ControlMain'
|
|
|
|
applicationName = 'control-service'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.distZip.enabled = false
|
|
|
|
|
|
|
|
apply from: "$rootProject.projectDir/docker-service.gradle"
|
|
|
|
|
|
|
|
dependencies {
|
2023-07-17 13:57:32 +02:00
|
|
|
implementation libs.bundles.gson
|
|
|
|
|
2023-07-03 10:40:32 +02:00
|
|
|
implementation project(':code:common:db')
|
|
|
|
implementation project(':code:common:model')
|
|
|
|
implementation project(':code:common:service')
|
|
|
|
implementation project(':code:common:config')
|
2023-07-04 18:25:42 +02:00
|
|
|
implementation project(':code:common:renderer')
|
2023-08-15 10:53:23 +02:00
|
|
|
implementation project(':code:libraries:message-queue')
|
2023-07-03 10:40:32 +02:00
|
|
|
implementation project(':code:common:service-discovery')
|
|
|
|
implementation project(':code:common:service-client')
|
2023-07-06 18:04:16 +02:00
|
|
|
implementation project(':code:api:index-api')
|
2023-10-09 14:42:33 +02:00
|
|
|
implementation project(':code:api:query-api')
|
2023-10-14 12:07:40 +02:00
|
|
|
implementation project(':code:api:executor-api')
|
2023-07-17 13:57:32 +02:00
|
|
|
implementation project(':code:api:process-mqapi')
|
2023-08-21 18:35:18 +02:00
|
|
|
implementation project(':code:features-search:screenshots')
|
2023-08-28 12:58:18 +02:00
|
|
|
implementation project(':code:features-index:index-journal')
|
2023-10-09 14:42:33 +02:00
|
|
|
implementation project(':code:features-index:index-query')
|
2023-10-14 12:07:40 +02:00
|
|
|
|
2023-09-16 18:14:47 +02:00
|
|
|
implementation project(':code:process-models:crawl-spec')
|
2023-07-03 10:40:32 +02:00
|
|
|
|
|
|
|
implementation libs.bundles.slf4j
|
|
|
|
|
|
|
|
implementation libs.prometheus
|
|
|
|
implementation libs.notnull
|
|
|
|
implementation libs.guice
|
2023-08-25 14:57:43 +02:00
|
|
|
implementation libs.zstd
|
2023-10-07 15:43:18 +02:00
|
|
|
implementation libs.rxjava
|
2023-07-17 13:57:32 +02:00
|
|
|
|
2023-07-03 10:40:32 +02:00
|
|
|
implementation libs.trove
|
|
|
|
implementation libs.spark
|
|
|
|
implementation libs.fastutil
|
2023-07-17 12:27:27 +02:00
|
|
|
implementation libs.commons.io
|
2023-07-03 10:40:32 +02:00
|
|
|
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'
|
|
|
|
}
|
|
|
|
|
|
|
|
|