plugins { kotlin("jvm") version "2.1.0" kotlin("plugin.serialization") version "2.1.0" } repositories { mavenCentral() } group = "me.any" version = "1.0-SNAPSHOT" kotlin { jvmToolchain(19) } dependencies { implementation(kotlin("stdlib")) testImplementation(kotlin("test")) implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3") } tasks.withType { manifest { attributes["Main-Class"] = "me.any.MainKt" } duplicatesStrategy = DuplicatesStrategy.EXCLUDE from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) }) } tasks.test { useJUnitPlatform() }