2023-03-04 13:19:01 +01:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id "io.freefair.lombok" version "5.3.3.3"
|
|
|
|
id 'application'
|
|
|
|
id 'jvm-test-suite'
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass = 'nu.marginalia.crawl.CrawlJobExtractorMain'
|
|
|
|
applicationName = 'crawl-job-extractor-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-03-25 15:26:17 +01:00
|
|
|
implementation project(':code:common:db')
|
2023-03-07 17:14:32 +01:00
|
|
|
implementation project(':code:common:model')
|
|
|
|
implementation project(':code:common:service')
|
2023-06-20 11:35:14 +02:00
|
|
|
implementation project(':code:common:service-discovery')
|
2023-03-13 17:39:53 +01:00
|
|
|
implementation project(':code:process-models:crawling-model')
|
2023-03-04 13:19:01 +01:00
|
|
|
|
|
|
|
implementation libs.lombok
|
|
|
|
annotationProcessor libs.lombok
|
|
|
|
implementation libs.bundles.slf4j
|
|
|
|
|
|
|
|
implementation libs.bundles.mariadb
|
|
|
|
implementation libs.guice
|
2023-03-17 16:03:11 +01:00
|
|
|
implementation libs.bundles.gson
|
2023-03-04 13:19:01 +01:00
|
|
|
implementation libs.zstd
|
|
|
|
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
|
|
testImplementation libs.bundles.junit
|
|
|
|
testImplementation libs.mockito
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
|
|
|
|
task fastTests(type: Test) {
|
|
|
|
useJUnitPlatform {
|
|
|
|
excludeTags "slow"
|
|
|
|
}
|
|
|
|
}
|