more build improvements

This commit is contained in:
mae
2025-10-09 00:16:50 -05:00
parent ec73bdabfa
commit 1dc17ac487
6 changed files with 22 additions and 31 deletions

View File

@@ -1,5 +1,6 @@
plugins {
id("java")
kotlin("jvm") version "2.2.10"
kotlin("plugin.serialization") version "2.2.20"
}
group = "moe.rosa"
@@ -13,8 +14,17 @@ dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation(kotlin("test"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
implementation(kotlin("reflect"))
}
kotlin {
jvmToolchain(24)
}
tasks.test {
useJUnitPlatform()
}
}
project.layout.buildDirectory.set(file("../build"))

View File

@@ -0,0 +1 @@
rootProject.name = "plt-build"