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 {
|
|
|
|
// Lombok
|
|
|
|
compileOnly 'org.projectlombok:lombok:' + project.dependencyLombok
|
|
|
|
annotationProcessor 'org.projectlombok:lombok:' + project.dependencyLombok
|
|
|
|
|
|
|
|
// JetBrains annotations
|
|
|
|
compileOnly 'org.jetbrains:annotations:' + project.dependencyJetbrainsAnnotations
|
|
|
|
|
|
|
|
// ANSI support
|
|
|
|
implementation 'org.fusesource.jansi:jansi:' + project.dependencyJansi
|
|
|
|
}
|
|
|
|
|
|
|
|
javadoc.options {
|
|
|
|
setMemberLevel(JavadocMemberLevel.PUBLIC)
|
|
|
|
setOverview("src/main/javadoc/overview.html")
|
|
|
|
setLocale("en_US");
|
|
|
|
setJFlags([
|
|
|
|
// Force Javadoc to use English translations
|
|
|
|
"-Duser.language=en_US"
|
|
|
|
])
|
|
|
|
}
|