write partial kotlin dsl

This commit is contained in:
mae
2025-11-15 21:51:43 -06:00
parent 7110fdb53e
commit 98950f21f3
5 changed files with 321 additions and 1 deletions

View File

@@ -10,6 +10,10 @@ repositories {
mavenCentral()
}
val kotlinVersion = "2.2.10"
val kotlinCoroutinesVersion = "1.7.0-RC"
dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
@@ -18,6 +22,11 @@ dependencies {
testImplementation(kotlin("test"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
implementation(kotlin("reflect"))
implementation("org.jetbrains.kotlin:kotlin-scripting-common:${kotlinVersion}")
implementation("org.jetbrains.kotlin:kotlin-scripting-jvm:${kotlinVersion}")
implementation("org.jetbrains.kotlin:kotlin-scripting-dependencies:${kotlinVersion}")
implementation("org.jetbrains.kotlin:kotlin-scripting-dependencies-maven:${kotlinVersion}")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${kotlinCoroutinesVersion}")
}
kotlin {
@@ -27,4 +36,4 @@ kotlin {
tasks.test {
useJUnitPlatform()
}
project.layout.buildDirectory.set(file("../build"))
project.layout.buildDirectory.set(file("../../build"))