2024-06-08 15:33:03 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2024-06-08 17:37:02 +02:00
|
|
|
id 'io.freefair.lombok' version "${pluginLombok}"
|
2024-06-08 15:33:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-06-09 00:21:01 +02:00
|
|
|
// -> Runtime <-
|
2024-06-08 15:33:03 +02:00
|
|
|
// Lombok
|
|
|
|
compileOnly 'org.projectlombok:lombok:' + project.dependencyLombok
|
|
|
|
annotationProcessor 'org.projectlombok:lombok:' + project.dependencyLombok
|
|
|
|
|
2024-06-09 00:21:01 +02:00
|
|
|
// JetBrains Annotations
|
2024-06-08 15:33:03 +02:00
|
|
|
compileOnly 'org.jetbrains:annotations:' + project.dependencyJetbrainsAnnotations
|
|
|
|
|
|
|
|
// ANSI support
|
|
|
|
implementation 'org.fusesource.jansi:jansi:' + project.dependencyJansi
|
2024-06-09 00:21:01 +02:00
|
|
|
|
2024-06-09 19:05:30 +02:00
|
|
|
// Reflections
|
|
|
|
implementation 'org.reflections:reflections:' + project.dependencyReflections
|
|
|
|
|
2024-06-09 00:21:01 +02:00
|
|
|
// -> Testing <-
|
|
|
|
// Jetbrains Annotations
|
|
|
|
testCompileOnly 'org.jetbrains:annotations:' + project.dependencyJetbrainsAnnotations
|
|
|
|
|
|
|
|
// JUnit
|
2024-06-09 16:31:11 +02:00
|
|
|
testImplementation platform('org.junit:junit-bom:5.' + project.dependencyJunit)
|
2024-06-09 14:17:03 +02:00
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
2024-06-09 00:21:01 +02:00
|
|
|
|
|
|
|
// jOOR
|
2024-06-09 16:31:11 +02:00
|
|
|
testImplementation 'org.jooq:joor:' + project.dependencyJoor
|
2024-06-08 15:33:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
javadoc.options {
|
|
|
|
setMemberLevel(JavadocMemberLevel.PUBLIC)
|
|
|
|
setOverview("src/main/javadoc/overview.html")
|
2024-06-09 00:21:01 +02:00
|
|
|
setLocale("en_US")
|
2024-06-08 15:33:03 +02:00
|
|
|
setJFlags([
|
|
|
|
// Force Javadoc to use English translations
|
|
|
|
"-Duser.language=en_US"
|
|
|
|
])
|
|
|
|
}
|
2024-06-09 00:21:01 +02:00
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
testLogging {
|
|
|
|
events "passed", "skipped", "failed"
|
|
|
|
}
|
|
|
|
}
|