CatgirlIntelligenceAgency/code/common/process/build.gradle

45 lines
1003 B
Groovy
Raw Normal View History

2023-03-04 13:19:01 +01:00
plugins {
id 'java'
id "io.freefair.lombok" version "8.2.2"
2023-03-04 13:19:01 +01:00
id 'jvm-test-suite'
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(20))
2023-03-04 13:19:01 +01:00
}
}
dependencies {
implementation libs.notnull
2023-03-04 13:19:01 +01:00
implementation libs.lombok
annotationProcessor libs.lombok
2023-03-04 13:19:01 +01:00
implementation libs.bundles.slf4j
testImplementation libs.bundles.slf4j.test
2023-03-04 13:19:01 +01:00
implementation libs.guava
2023-03-04 13:19:01 +01:00
implementation libs.guice
implementation libs.bundles.mariadb
implementation libs.commons.lang3
implementation libs.snakeyaml
2023-03-04 13:19:01 +01:00
testImplementation libs.bundles.slf4j.test
testImplementation libs.bundles.junit
testImplementation libs.mockito
}
2023-07-12 18:04:06 +02:00
test {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
maxHeapSize = "8G"
useJUnitPlatform()
}
2023-03-04 13:19:01 +01:00
2023-07-12 18:04:06 +02:00
task fastTests(type: Test) {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
maxHeapSize = "8G"
useJUnitPlatform {
excludeTags "slow"
}
}