2023-03-04 13:19:01 +01:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2023-09-23 11:01:43 +02:00
|
|
|
|
2023-03-04 13:19:01 +01:00
|
|
|
id 'application'
|
|
|
|
id 'jvm-test-suite'
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
2023-09-23 11:01:43 +02:00
|
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
2023-03-04 13:19:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass = 'nu.marginalia.crawl.CrawlerMain'
|
|
|
|
applicationName = 'crawler-process'
|
|
|
|
}
|
|
|
|
|
2023-03-11 11:34:51 +01:00
|
|
|
tasks.distZip.enabled = false
|
|
|
|
|
2023-03-04 13:19:01 +01:00
|
|
|
dependencies {
|
2023-03-16 21:35:54 +01:00
|
|
|
implementation project(':code:common:process')
|
|
|
|
|
2023-07-11 14:46:21 +02:00
|
|
|
implementation project(':code:common:db')
|
2023-03-07 17:14:32 +01:00
|
|
|
implementation project(':code:common:model')
|
|
|
|
implementation project(':code:common:config')
|
|
|
|
implementation project(':code:common:service')
|
|
|
|
implementation project(':code:libraries:big-string')
|
2023-09-20 10:11:49 +02:00
|
|
|
implementation project(':code:libraries:blocking-thread-pool')
|
2023-03-07 17:14:32 +01:00
|
|
|
implementation project(':code:api:index-api')
|
2023-07-20 21:05:16 +02:00
|
|
|
implementation project(':code:api:process-mqapi')
|
2023-03-07 17:14:32 +01:00
|
|
|
implementation project(':code:common:service-discovery')
|
|
|
|
implementation project(':code:common:service-client')
|
2023-08-15 10:53:23 +02:00
|
|
|
implementation project(':code:libraries:message-queue')
|
2023-03-07 17:14:32 +01:00
|
|
|
implementation project(':code:libraries:language-processing')
|
2023-07-20 21:05:16 +02:00
|
|
|
implementation project(':code:libraries:easy-lsh')
|
2023-03-13 17:39:53 +01:00
|
|
|
implementation project(':code:process-models:crawling-model')
|
2023-09-16 18:14:47 +02:00
|
|
|
implementation project(':code:process-models:crawl-spec')
|
2023-03-04 13:19:01 +01:00
|
|
|
|
2023-03-12 11:42:07 +01:00
|
|
|
implementation project(':code:features-crawl:crawl-blocklist')
|
|
|
|
implementation project(':code:features-crawl:link-parser')
|
|
|
|
|
2023-03-04 13:19:01 +01:00
|
|
|
implementation libs.bundles.slf4j
|
|
|
|
|
|
|
|
implementation libs.notnull
|
|
|
|
implementation libs.guice
|
|
|
|
implementation libs.gson
|
|
|
|
implementation libs.zstd
|
|
|
|
implementation libs.crawlercommons
|
|
|
|
implementation libs.okhttp3
|
|
|
|
implementation libs.jsoup
|
|
|
|
implementation libs.opencsv
|
|
|
|
implementation libs.rxjava
|
2023-07-29 19:16:31 +02:00
|
|
|
implementation libs.fastutil
|
|
|
|
|
2023-03-04 13:19:01 +01:00
|
|
|
implementation libs.bundles.mariadb
|
|
|
|
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
|
|
testImplementation libs.bundles.junit
|
|
|
|
testImplementation libs.mockito
|
2023-06-26 14:14:39 +02:00
|
|
|
|
|
|
|
testImplementation project(':code:processes:test-data')
|
2023-03-04 13:19:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
|
|
|
|
task fastTests(type: Test) {
|
|
|
|
useJUnitPlatform {
|
|
|
|
excludeTags "slow"
|
|
|
|
}
|
|
|
|
}
|