[JS SCRIPTING] create tests for repl

This commit is contained in:
Vitaliy.Tikhonov
2019-08-30 16:05:05 +03:00
committed by romanart
parent 62885ba497
commit c6c3d2de9e
6 changed files with 429 additions and 0 deletions
@@ -0,0 +1,32 @@
plugins {
kotlin("jvm")
}
jvmTarget = "1.6"
val embeddableTestRuntime by configurations.creating
dependencies {
testCompile(commonDep("junit"))
testCompile(project(":kotlin-scripting-js"))
testCompile(project(":compiler:plugin-api"))
testCompile(project(":kotlin-scripting-compiler"))
testCompile(project(":compiler:cli"))
testCompile(project(":compiler:backend.js"))
testCompile(project(":js:js.engines"))
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
testRuntimeOnly(intellijCoreDep()) { includeJars("intellij-core") }
testRuntimeOnly(intellijDep()) { includeJars("openapi", "idea", "idea_rt", "log4j", "picocontainer-1.2", "guava-25.1-jre", "jdom") }
testRuntimeOnly(commonDep("org.jetbrains.intellij.deps", "trove4j"))
}
sourceSets {
"main" {}
"test" { projectDefault() }
}
projectTest(parallel = true) {
workingDir = rootDir
}