2023-03-04 13:19:01 +01:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2023-03-11 13:48:40 +01:00
|
|
|
id "io.freefair.lombok" version "5.3.3.3"
|
2023-03-13 17:39:53 +01:00
|
|
|
id 'application'
|
2023-03-11 13:48:40 +01:00
|
|
|
id 'jvm-test-suite'
|
2023-03-04 13:19:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-13 17:39:53 +01:00
|
|
|
application {
|
|
|
|
mainClass = 'nu.marginalia.converting.ConverterMain'
|
|
|
|
applicationName = 'converter-process'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.distZip.enabled = false
|
|
|
|
|
2023-03-04 13:19:01 +01:00
|
|
|
dependencies {
|
2023-03-13 17:39:53 +01:00
|
|
|
implementation project(':third-party:porterstemmer')
|
|
|
|
implementation project(':code:common:model')
|
2023-03-11 13:48:40 +01:00
|
|
|
implementation project(':code:common:config')
|
|
|
|
implementation project(':code:libraries:language-processing')
|
2023-03-13 23:40:26 +01:00
|
|
|
implementation project(':code:libraries:term-frequency-dict')
|
2023-03-04 13:19:01 +01:00
|
|
|
|
|
|
|
implementation libs.lombok
|
|
|
|
annotationProcessor libs.lombok
|
2023-03-11 13:48:40 +01:00
|
|
|
implementation libs.bundles.slf4j
|
2023-03-13 17:39:53 +01:00
|
|
|
|
2023-03-04 13:19:01 +01:00
|
|
|
implementation libs.notnull
|
2023-03-13 17:39:53 +01:00
|
|
|
|
2023-03-11 13:48:40 +01:00
|
|
|
implementation libs.jsoup
|
2023-03-13 17:39:53 +01:00
|
|
|
implementation libs.commons.lang3
|
|
|
|
|
|
|
|
implementation libs.guice
|
|
|
|
implementation libs.guava
|
|
|
|
|
|
|
|
implementation libs.trove
|
|
|
|
implementation libs.fastutil
|
2023-03-04 13:19:01 +01:00
|
|
|
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
|
|
testImplementation libs.bundles.junit
|
|
|
|
testImplementation libs.mockito
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
2023-03-13 17:39:53 +01:00
|
|
|
maxHeapSize = "8G"
|
2023-03-04 13:19:01 +01:00
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
2023-03-11 13:48:40 +01:00
|
|
|
|
|
|
|
task fastTests(type: Test) {
|
|
|
|
useJUnitPlatform {
|
|
|
|
excludeTags "slow"
|
|
|
|
}
|
|
|
|
}
|