2023-03-11 13:48:40 +01:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2023-09-23 11:01:43 +02:00
|
|
|
|
2023-03-11 13:48:40 +01:00
|
|
|
|
|
|
|
id "de.undercouch.download" version "5.1.0"
|
|
|
|
|
|
|
|
id 'jvm-test-suite'
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
2023-09-23 11:01:43 +02:00
|
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
2023-03-11 13:48:40 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(':code:common:model')
|
|
|
|
|
|
|
|
implementation libs.bundles.slf4j
|
|
|
|
implementation libs.guice
|
|
|
|
implementation libs.notnull
|
2023-03-13 17:39:53 +01:00
|
|
|
implementation libs.bundles.gson
|
2023-03-11 13:48:40 +01:00
|
|
|
implementation libs.jsoup
|
|
|
|
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
|
|
testImplementation libs.bundles.junit
|
|
|
|
testImplementation libs.mockito
|
|
|
|
testImplementation project(':code:common:config')
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
|
|
|
|
task fastTests(type: Test) {
|
|
|
|
useJUnitPlatform {
|
|
|
|
excludeTags "slow"
|
|
|
|
}
|
|
|
|
}
|