2023-03-04 12:19:01 +00:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id "io.freefair.lombok" version "5.3.3.3"
|
|
|
|
id 'application'
|
|
|
|
id 'jvm-test-suite'
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
2023-08-23 13:37:49 +00:00
|
|
|
languageVersion.set(JavaLanguageVersion.of(20))
|
2023-03-04 12:19:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass = 'nu.marginalia.converting.ConverterMain'
|
|
|
|
applicationName = 'converter-process'
|
|
|
|
}
|
|
|
|
|
2023-03-11 10:34:51 +00:00
|
|
|
tasks.distZip.enabled = false
|
|
|
|
|
2023-03-04 12:19:01 +00:00
|
|
|
dependencies {
|
2023-06-12 15:42:30 +00:00
|
|
|
|
2023-07-31 08:31:46 +00:00
|
|
|
implementation project(':third-party:monkey-patch-gson')
|
2023-06-12 15:42:30 +00:00
|
|
|
|
2023-03-16 20:35:54 +00:00
|
|
|
implementation project(':code:common:process')
|
|
|
|
|
2023-03-12 09:04:48 +00:00
|
|
|
implementation project(':third-party:porterstemmer')
|
2023-03-16 20:35:54 +00:00
|
|
|
implementation project(':third-party:count-min-sketch')
|
2023-07-17 11:57:32 +00:00
|
|
|
|
2023-03-11 12:48:40 +00:00
|
|
|
implementation project(':code:api:index-api')
|
2023-07-17 11:57:32 +00:00
|
|
|
implementation project(':code:api:process-mqapi')
|
2023-03-11 12:48:40 +00:00
|
|
|
|
2023-03-07 16:14:32 +00:00
|
|
|
implementation project(':code:common:model')
|
2023-07-10 15:36:12 +00:00
|
|
|
implementation project(':code:common:db')
|
2023-03-07 16:14:32 +00:00
|
|
|
implementation project(':code:common:service')
|
|
|
|
implementation project(':code:common:config')
|
2023-08-15 08:53:23 +00:00
|
|
|
implementation project(':code:libraries:message-queue')
|
2023-03-11 12:48:40 +00:00
|
|
|
implementation project(':code:common:service-discovery')
|
|
|
|
implementation project(':code:common:service-client')
|
|
|
|
|
2023-03-07 16:14:32 +00:00
|
|
|
implementation project(':code:libraries:guarded-regex')
|
|
|
|
implementation project(':code:libraries:easy-lsh')
|
|
|
|
implementation project(':code:libraries:big-string')
|
|
|
|
implementation project(':code:libraries:language-processing')
|
2023-03-11 12:48:40 +00:00
|
|
|
|
2023-03-13 16:39:53 +00:00
|
|
|
implementation project(':code:process-models:converting-model')
|
|
|
|
implementation project(':code:process-models:crawling-model')
|
2023-03-04 12:19:01 +00:00
|
|
|
|
2023-03-13 16:39:53 +00:00
|
|
|
implementation project(':code:features-convert:adblock')
|
|
|
|
implementation project(':code:features-convert:topic-detection')
|
|
|
|
implementation project(':code:features-convert:pubdate')
|
|
|
|
implementation project(':code:features-convert:keyword-extraction')
|
2023-03-16 20:35:54 +00:00
|
|
|
implementation project(':code:features-convert:summary-extraction')
|
|
|
|
|
2023-03-12 10:42:07 +00:00
|
|
|
implementation project(':code:features-crawl:crawl-blocklist')
|
|
|
|
implementation project(':code:features-crawl:link-parser')
|
2023-03-16 20:35:54 +00:00
|
|
|
|
|
|
|
testImplementation project(':code:libraries:term-frequency-dict')
|
|
|
|
|
2023-03-04 12:19:01 +00:00
|
|
|
implementation libs.lombok
|
|
|
|
annotationProcessor libs.lombok
|
|
|
|
implementation libs.bundles.slf4j
|
|
|
|
|
|
|
|
implementation libs.notnull
|
|
|
|
|
|
|
|
implementation libs.jsoup
|
|
|
|
|
|
|
|
implementation libs.guice
|
2023-03-16 20:35:54 +00:00
|
|
|
implementation libs.guava
|
|
|
|
implementation libs.bundles.gson
|
2023-03-04 12:19:01 +00:00
|
|
|
|
|
|
|
implementation libs.zstd
|
|
|
|
|
|
|
|
implementation libs.bundles.mariadb
|
2023-08-16 13:48:12 +00:00
|
|
|
implementation libs.bundles.nlp
|
2023-03-04 12:19:01 +00:00
|
|
|
|
|
|
|
implementation libs.trove
|
|
|
|
implementation libs.fastutil
|
|
|
|
|
|
|
|
implementation libs.crawlercommons
|
|
|
|
|
|
|
|
implementation libs.commons.lang3
|
2023-08-07 10:57:38 +00:00
|
|
|
implementation libs.commons.compress
|
2023-07-28 16:14:43 +00:00
|
|
|
implementation libs.sqlite
|
2023-03-04 12:19:01 +00:00
|
|
|
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
|
|
testImplementation libs.bundles.junit
|
|
|
|
testImplementation libs.mockito
|
2023-06-26 14:54:03 +00:00
|
|
|
|
2023-08-07 10:57:38 +00:00
|
|
|
implementation 'org.tukaani:xz:1.8'
|
|
|
|
|
2023-06-26 14:54:03 +00:00
|
|
|
testImplementation project(':code:processes:test-data')
|
2023-06-27 14:11:27 +00:00
|
|
|
testImplementation project(':code:processes:crawling-process')
|
2023-03-04 12:19:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
maxHeapSize = "8G"
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
|
|
|
|
task fastTests(type: Test) {
|
|
|
|
useJUnitPlatform {
|
|
|
|
excludeTags "slow"
|
|
|
|
}
|
|
|
|
}
|