blob: 61aad1a4e847c393fe8b763087da5986376fe1e2 [file] [log] [blame] [edit]
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
import java.io.File
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
compile(kotlinStdlib())
testCompile(projectTests(":generators:test-generator"))
testApi(projectTests(":compiler:tests-common"))
testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") }
testRuntimeOnly(intellijCoreDep()) { includeJars("intellij-core") }
}
sourceSets {
"main" { }
"test" { projectDefault() }
}
testsJar {}
projectTest(parallel = true) {
dependsOn(":dist")
dependsOn(":kotlin-stdlib-js-ir:compileKotlinJs")
workingDir = rootDir
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))
}
val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateCompilerTestsAgainstKlibKt")