chapi-helper/build.gradle.kts
plugins {
java
kotlin("jvm")
kotlin("plugin.serialization") version "1.6.10"
`jacoco-conventions`
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2")
implementation(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
implementation("org.antlr:antlr4:4.13.1")
implementation("org.antlr:antlr4-runtime:4.13.1")
// Kotlin reflection.
testImplementation(kotlin("test"))
testImplementation(project(":chapi-ast-java"))
testImplementation(project(":chapi-domain"))
// JUnit 5
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.0")
testRuntimeOnly("org.junit.platform:junit-platform-console:1.6.0")
}
tasks.withType<Test> {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}