Starting scripting support
This commit is contained in:
parent
a4a7163e0d
commit
128f747558
20
dataforge-scripting/build.gradle.kts
Normal file
20
dataforge-scripting/build.gradle.kts
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
plugins {
|
||||||
|
kotlin("multiplatform")
|
||||||
|
}
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
jvm()
|
||||||
|
sourceSets {
|
||||||
|
val commonMain by getting {
|
||||||
|
dependencies {
|
||||||
|
api(project(":dataforge-workspace"))
|
||||||
|
implementation("org.jetbrains.kotlin:kotlin-scripting-common")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
val jvmMain by getting {
|
||||||
|
dependencies {
|
||||||
|
implementation("org.jetbrains.kotlin:kotlin-scripting-jvm-host")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package hep.dataforge.scripting
|
||||||
|
|
||||||
|
import java.io.File
|
||||||
|
|
||||||
|
fun buildWorkspace(file: File) {
|
||||||
|
|
||||||
|
}
|
@ -14,5 +14,6 @@ include(
|
|||||||
":dataforge-context",
|
":dataforge-context",
|
||||||
":dataforge-data",
|
":dataforge-data",
|
||||||
":dataforge-io",
|
":dataforge-io",
|
||||||
":dataforge-workspace"
|
":dataforge-workspace",
|
||||||
|
":dataforge-scripting"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user