26 lines
731 B
Groovy
26 lines
731 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'io.freefair.lombok' version '${pluginLombok}'
|
|
}
|
|
|
|
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"
|
|
])
|
|
}
|