aa0d256d6a
* Change language version * Upgrade Lombok to a JDK20 compatible version
46 lines
983 B
Groovy
46 lines
983 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(20))
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation libs.lombok
|
|
annotationProcessor libs.lombok
|
|
|
|
implementation libs.spark
|
|
implementation libs.guice
|
|
implementation libs.gson
|
|
implementation libs.rxjava
|
|
|
|
implementation libs.bundles.slf4j
|
|
implementation libs.bucket4j
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
implementation libs.bundles.mariadb
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
testImplementation libs.bundles.junit
|
|
testImplementation libs.mockito
|
|
testImplementation project(':code:common:db')
|
|
|
|
testImplementation platform('org.testcontainers:testcontainers-bom:1.17.4')
|
|
testImplementation 'org.testcontainers:mariadb:1.17.4'
|
|
testImplementation 'org.testcontainers:junit-jupiter:1.17.4'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
task fastTests(type: Test) {
|
|
useJUnitPlatform {
|
|
excludeTags "slow"
|
|
}
|
|
}
|