38 lines
636 B
Kotlin
38 lines
636 B
Kotlin
plugins {
|
|
kotlin("jvm") version "2.3.0"
|
|
jacoco
|
|
id("org.jetbrains.kotlin.plugin.allopen") version "2.0.0"
|
|
}
|
|
|
|
group = "com.nano"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
|
|
testImplementation(kotlin("test"))
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
jacoco {
|
|
toolVersion = "0.8.11"
|
|
}
|
|
|
|
tasks.jacocoTestReport {
|
|
dependsOn(tasks.test)
|
|
reports {
|
|
xml.required.set(true)
|
|
html.required.set(true)
|
|
}
|
|
} |