46 lines
1.3 KiB
Groovy
46 lines
1.3 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'io.freefair.lombok' version "${pluginLombok}"
|
|
}
|
|
|
|
dependencies {
|
|
// -> Runtime <-
|
|
// 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
|
|
|
|
// -> Testing <-
|
|
// Jetbrains Annotations
|
|
testCompileOnly 'org.jetbrains:annotations:' + project.dependencyJetbrainsAnnotations
|
|
|
|
// JUnit
|
|
testImplementation platform('org.junit:junit-bom:5.' + project.dependencyJUnit)
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.' + project.dependencyJUnit
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.' + project.dependencyJUnit
|
|
|
|
// jOOR
|
|
testImplementation 'org.jooq:joor:' + project.dependencyjOOR
|
|
}
|
|
|
|
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"
|
|
])
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
events "passed", "skipped", "failed"
|
|
}
|
|
}
|