[minor] fix scripting test dependencies

This commit is contained in:
Ilya Chernikov
2021-03-10 15:12:03 +01:00
parent 9c786a9cd9
commit 10567d9a37
2 changed files with 2 additions and 1 deletions
@@ -35,7 +35,7 @@ dependencies {
testCompile(commonDep("junit:junit"))
testImplementation(intellijCoreDep()) { includeJars("intellij-core") }
testRuntimeOnly(intellijDep()) { includeJars("jps-model") }
testRuntimeOnly(intellijDep()) { includeJars("jps-model", "jna") }
}
sourceSets {
@@ -34,6 +34,7 @@ dependencies {
embeddableTestRuntime(project(":kotlin-scripting-dependencies", configuration="runtimeElements"))
// For tests with IvyResolver
embeddableTestRuntime(project(":kotlin-main-kts"))
embeddableTestRuntime(kotlinStdlib("jdk8"))
embeddableTestRuntime(testSourceSet.output)
}