mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
36 lines
1.2 KiB
Kotlin
36 lines
1.2 KiB
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
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(":compiler:ir.tree.impl"))
|
|
testCompile(project(":js:js.engines"))
|
|
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
|
|
testRuntimeOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
testRuntimeOnly(intellijDep()) {
|
|
includeJars("idea", "idea_rt", "log4j", "guava", "jdom", rootProject = rootProject)
|
|
}
|
|
testRuntimeOnly(commonDep("org.jetbrains.intellij.deps", "trove4j"))
|
|
testRuntimeOnly(intellijDep()) { includeJars("intellij-deps-fastutil-8.4.1-4") }
|
|
}
|
|
|
|
sourceSets {
|
|
"main" {}
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
projectTest(parallel = true) {
|
|
dependsOn(":kotlin-stdlib-js-ir:compileKotlinJs")
|
|
systemProperty("kotlin.js.full.stdlib.path", "libraries/stdlib/js-ir/build/classes/kotlin/js/main")
|
|
workingDir = rootDir
|
|
}
|