This commit is contained in:
2026-04-24 01:07:37 +03:00
commit eb7ce4e978
23 changed files with 745 additions and 0 deletions

38
build.gradle.kts Normal file
View File

@@ -0,0 +1,38 @@
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)
}
}