CatgirlIntelligenceAgency/tools/screenshot/build.gradle
Viktor Lofgren 11af3f3e64 Code cleanup
2023-03-07 16:37:08 +01:00

50 lines
1.1 KiB
Groovy

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.screenshot.ScreenshotCaptureToolMain'
applicationName = 'screenshot-capture-tool'
}
dependencies {
implementation project(':third-party')
implementation project(':common:model')
implementation project(':features:screenshots')
implementation project(':common:service')
implementation libs.lombok
annotationProcessor libs.lombok
implementation libs.bundles.slf4j
implementation libs.bundles.selenium
implementation libs.bundles.mariadb
implementation libs.notnull
implementation libs.commons.compress
implementation libs.commons.io
implementation libs.guice
testImplementation libs.bundles.slf4j.test
testImplementation libs.bundles.junit
testImplementation libs.mockito
}
test {
useJUnitPlatform()
}
task fastTests(type: Test) {
useJUnitPlatform {
excludeTags "slow"
}
}