Files
kotlin-fork/compiler/daemon/daemon-tests/build.gradle.kts
T
Ilya Gorbunov d2aae67e03 Replace kotlin-test project dependencies in the project
Use dependency helper function that chooses whether to take them
from the bootstrap repository or from a configuration of kotlin-test

KT-61969
2023-12-13 15:40:25 +00:00

37 lines
962 B
Kotlin

description = "Kotlin Daemon Tests"
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
testImplementation(kotlinStdlib())
testImplementation(kotlinTest("junit"))
testImplementation(project(":kotlin-daemon"))
testImplementation(project(":kotlin-daemon-client"))
testImplementation(libs.junit4)
testImplementation(libs.junit.jupiter.api)
testImplementation(projectTests(":compiler:tests-common"))
testImplementation(intellijCore())
testRuntimeOnly(libs.junit.jupiter.engine)
testRuntimeOnly(libs.junit.vintage.engine)
}
sourceSets {
"main" {}
"test" { projectDefault() }
}
projectTest(parallel = true, jUnitMode = JUnitMode.JUnit5) {
dependsOn(":dist")
workingDir = rootDir
useJUnitPlatform()
val testClassesDirs = testSourceSet.output.classesDirs
doFirst {
systemProperty("kotlin.test.script.classpath", testClassesDirs.joinToString(File.pathSeparator))
}
}