34 lines
915 B
Groovy
34 lines
915 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id "io.freefair.lombok" version "${pluginLombok}"
|
||
|
}
|
||
|
|
||
|
group = project.group
|
||
|
version = project.versioningVersion + "-" + project.versioningType + project.versioningTyperelease + project.versioningFork
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
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"
|
||
|
])
|
||
|
}
|