blob: 6baa25b7f006e2d637e69787fbe5c431aa646281 [file] [edit]
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
testCompile(projectTests(":compiler"))
}
sourceSets {
"main" { }
"test" { projectDefault() }
}
projectTest {
workingDir = rootDir
}
val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateCompilerSpecTestsKt")
val printSpecTestsStatistic by smartJavaExec {
classpath = javaPluginConvention().sourceSets.getByName("test").runtimeClasspath
main = "org.jetbrains.kotlin.spec.tasks.PrintSpecTestsStatisticKt"
}
val generateJsonTestsMap by smartJavaExec {
classpath = javaPluginConvention().sourceSets.getByName("test").runtimeClasspath
main = "org.jetbrains.kotlin.spec.tasks.GenerateJsonTestsMapKt"
}