From a8c91005392f95b1e08dfe16945ca043290e3050 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Sat, 10 Aug 2019 17:51:58 +0300 Subject: [PATCH] Fixed scripting test by randomly placing random strings in random places --- build.gradle.kts | 2 +- .../src/jvmMain/kotlin/hep/dataforge/scripting/Builders.kt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 758279ab..016a350e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,7 @@ plugins { id("scientifik.publish") version "0.1.4" apply false } -val dataforgeVersion by extra("0.1.3-dev-11") +val dataforgeVersion by extra("0.1.3") val bintrayRepo by extra("dataforge") val githubProject by extra("dataforge-core") diff --git a/dataforge-scripting/src/jvmMain/kotlin/hep/dataforge/scripting/Builders.kt b/dataforge-scripting/src/jvmMain/kotlin/hep/dataforge/scripting/Builders.kt index 31f3a508..2df5a183 100644 --- a/dataforge-scripting/src/jvmMain/kotlin/hep/dataforge/scripting/Builders.kt +++ b/dataforge-scripting/src/jvmMain/kotlin/hep/dataforge/scripting/Builders.kt @@ -8,6 +8,7 @@ import hep.dataforge.workspace.WorkspaceBuilder import java.io.File import kotlin.script.experimental.api.* import kotlin.script.experimental.host.toScriptSource +import kotlin.script.experimental.jvm.defaultJvmScriptingHostConfiguration import kotlin.script.experimental.jvm.dependenciesFromCurrentContext import kotlin.script.experimental.jvm.jvm import kotlin.script.experimental.jvmhost.BasicJvmScriptingHost @@ -24,6 +25,7 @@ object Builders { jvm { dependenciesFromCurrentContext(wholeClasspath = true) } + hostConfiguration(defaultJvmScriptingHostConfiguration) } val evaluationConfiguration = ScriptEvaluationConfiguration {