Starting scripting support

This commit is contained in:
Alexander Nozik 2019-02-01 16:38:11 +03:00
parent a4a7163e0d
commit 128f747558
3 changed files with 29 additions and 1 deletions

View 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")
}
}
}
}

View File

@ -0,0 +1,7 @@
package hep.dataforge.scripting
import java.io.File
fun buildWorkspace(file: File) {
}

View File

@ -14,5 +14,6 @@ include(
":dataforge-context",
":dataforge-data",
":dataforge-io",
":dataforge-workspace"
":dataforge-workspace",
":dataforge-scripting"
)