blob: 49583a45fbd24180d8d64bce955fb3364db22d60 [file] [log] [blame]
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") }
Platform[193].orLower {
testRuntimeOnly(intellijDep()) { includeJars("openapi", "picocontainer", rootProject = rootProject) }
}
testRuntimeOnly(intellijDep()) {
includeJars("idea", "idea_rt", "log4j", "guava", "jdom", rootProject = rootProject)
}
testRuntimeOnly(commonDep("org.jetbrains.intellij.deps", "trove4j"))
}
sourceSets {
"main" {}
"test" { projectDefault() }
}
projectTest(parallel = true) {
workingDir = rootDir
}