30 lines
728 B
Kotlin
30 lines
728 B
Kotlin
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"
|
|
}
|