plugins { kotlin("jvm") id("jps-compatible") } dependencies { testCompile(projectTests(":compiler")) Platform[192].orHigher { testCompileOnly(intellijDep()) { includeJars("gson", "groovy-all", rootProject = rootProject) } testCompileOnly(intellijCoreDep()) { includeJars("intellij-core") } testRuntimeOnly(intellijPluginDep("java")) } compile("org.jsoup:jsoup:1.10.3") if (System.getProperty("idea.active") != null) testRuntimeOnly(files("${rootProject.projectDir}/dist/kotlinc/lib/kotlin-reflect.jar")) testRuntime(project(":kotlin-reflect")) } sourceSets { "main" { } "test" { projectDefault() } } projectTest(parallel = true) { workingDir = rootDir } val generateSpecTests by generator("org.jetbrains.kotlin.spec.utils.tasks.GenerateSpecTestsKt") val generateFeatureInteractionSpecTestData by generator("org.jetbrains.kotlin.spec.utils.tasks.GenerateFeatureInteractionSpecTestDataKt") val printSpecTestsStatistic by generator("org.jetbrains.kotlin.spec.utils.tasks.PrintSpecTestsStatisticKt") val specConsistencyTests by task { workingDir = rootDir filter { includeTestsMatching("org.jetbrains.kotlin.spec.consistency.SpecTestsConsistencyTest") } } tasks.named("test") { filter { excludeTestsMatching("org.jetbrains.kotlin.spec.consistency.SpecTestsConsistencyTest") } }