Files
kotlin-fork/js/js.tests/build.gradle.kts
T
2017-09-19 21:37:06 +02:00

37 lines
1.0 KiB
Kotlin

apply { plugin("kotlin") }
dependencies {
val testCompile by configurations
val testCompileOnly by configurations
val testRuntime by configurations
testCompile(project(":compiler.tests-common"))
testCompile(project(":compiler:frontend"))
testCompile(project(":compiler:cli"))
testCompileOnly(project(":compiler:util"))
testCompile(project(":js:js.translator"))
testCompile(project(":js:js.serializer"))
testCompile(project(":js:js.dce"))
testCompile(ideaSdkDeps("openapi", "idea"))
testRuntime(project(":kotlin-stdlib"))
testRuntime(project(":compiler:backend-common"))
testRuntime(ideaSdkDeps("*.jar"))
}
configureKotlinProjectSources()
configureKotlinProjectTestsDefault()
val test: Test by tasks
test.apply {
dependsOnTaskIfExistsRec("dist", project = rootProject)
dependsOn(":prepare:mock-runtime-for-test:dist")
workingDir = rootDir
systemProperty("idea.is.unit.test", "true")
environment("NO_FS_ROOTS_ACCESS_CHECK", "true")
ignoreFailures = true
}
testsJar {}