Engine/base/build.gradle

47 lines
1.3 KiB
Groovy
Raw Normal View History

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
// -> 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
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"
}
}