diff --git a/dataforge-scripting/build.gradle.kts b/dataforge-scripting/build.gradle.kts new file mode 100644 index 00000000..9c37715d --- /dev/null +++ b/dataforge-scripting/build.gradle.kts @@ -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") + } + } + } +} \ No newline at end of file diff --git a/dataforge-scripting/src/jvmMain/kotlin/hep/dataforge/scripting/Builders.kt b/dataforge-scripting/src/jvmMain/kotlin/hep/dataforge/scripting/Builders.kt new file mode 100644 index 00000000..ffe5569a --- /dev/null +++ b/dataforge-scripting/src/jvmMain/kotlin/hep/dataforge/scripting/Builders.kt @@ -0,0 +1,7 @@ +package hep.dataforge.scripting + +import java.io.File + +fun buildWorkspace(file: File) { + +} \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 670d7438..75af1911 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -14,5 +14,6 @@ include( ":dataforge-context", ":dataforge-data", ":dataforge-io", - ":dataforge-workspace" + ":dataforge-workspace", + ":dataforge-scripting" )