2023-10-14 12:07:40 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
|
|
|
|
id 'com.palantir.docker' version '0.35.0'
|
|
|
|
id 'application'
|
|
|
|
id 'jvm-test-suite'
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass = 'nu.marginalia.executor.ExecutorMain'
|
|
|
|
applicationName = 'executor-service'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.distZip.enabled = false
|
|
|
|
|
2023-10-19 17:47:38 +02:00
|
|
|
apply from: "$rootProject.projectDir/docker-service-with-dist.gradle"
|
2023-10-14 12:07:40 +02:00
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(':code:common:config')
|
|
|
|
implementation project(':code:common:model')
|
2023-10-19 13:22:52 +02:00
|
|
|
implementation project(':code:common:process')
|
2023-10-14 12:07:40 +02:00
|
|
|
implementation project(':code:common:db')
|
2024-01-08 15:53:13 +01:00
|
|
|
implementation project(':code:common:linkdb')
|
2023-10-16 15:43:46 +02:00
|
|
|
|
2023-10-14 12:07:40 +02:00
|
|
|
implementation project(':code:common:service')
|
|
|
|
implementation project(':code:common:service-client')
|
|
|
|
implementation project(':code:common:service-discovery')
|
2023-10-16 15:43:46 +02:00
|
|
|
|
2023-10-31 17:32:34 +01:00
|
|
|
implementation project(':third-party:commons-codec')
|
|
|
|
|
2023-10-14 12:07:40 +02:00
|
|
|
implementation project(':code:libraries:message-queue')
|
|
|
|
|
2023-10-16 15:43:46 +02:00
|
|
|
implementation project(':code:process-models:crawl-spec')
|
2023-10-31 17:32:34 +01:00
|
|
|
implementation project(':code:process-models:crawling-model')
|
|
|
|
implementation project(':code:features-crawl:link-parser')
|
2023-10-16 15:43:46 +02:00
|
|
|
implementation project(':code:features-index:index-journal')
|
|
|
|
implementation project(':code:api:index-api')
|
|
|
|
implementation project(':code:api:query-api')
|
|
|
|
implementation project(':code:api:process-mqapi')
|
|
|
|
implementation project(':code:api:executor-api')
|
2023-10-14 12:07:40 +02:00
|
|
|
|
|
|
|
implementation libs.bundles.slf4j
|
|
|
|
|
|
|
|
implementation libs.spark
|
|
|
|
implementation libs.gson
|
|
|
|
implementation libs.prometheus
|
|
|
|
implementation libs.notnull
|
|
|
|
implementation libs.guice
|
2023-10-31 17:32:34 +01:00
|
|
|
implementation libs.trove
|
2023-10-14 12:07:40 +02:00
|
|
|
implementation libs.protobuf
|
|
|
|
implementation libs.rxjava
|
2023-10-16 15:43:46 +02:00
|
|
|
implementation libs.zstd
|
2023-10-31 17:32:34 +01:00
|
|
|
implementation libs.jsoup
|
2023-10-16 15:43:46 +02:00
|
|
|
implementation libs.commons.io
|
2023-11-01 13:23:14 +01:00
|
|
|
implementation libs.commons.lang3
|
2023-10-14 12:07:40 +02:00
|
|
|
implementation libs.bundles.mariadb
|
|
|
|
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
|
|
testImplementation libs.bundles.junit
|
|
|
|
testImplementation libs.mockito
|
|
|
|
|
2023-10-19 15:41:45 +02:00
|
|
|
testImplementation platform('org.testcontainers:testcontainers-bom:1.17.4')
|
|
|
|
testImplementation 'org.testcontainers:mariadb:1.17.4'
|
|
|
|
testImplementation 'org.testcontainers:junit-jupiter:1.17.4'
|
|
|
|
|
|
|
|
|
2023-10-19 17:47:38 +02:00
|
|
|
}
|