9160636a71
^KTI-1103
25 lines
720 B
Kotlin
25 lines
720 B
Kotlin
import java.nio.file.Paths
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(kotlinStdlib("jdk8"))
|
|
testImplementation(project(":kotlin-test:kotlin-test-junit5"))
|
|
testApiJUnit5()
|
|
testImplementation(projectTests(":compiler:tests-common-new"))
|
|
}
|
|
|
|
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
|
workingDir = rootDir
|
|
useJUnitPlatform { }
|
|
doFirst {
|
|
val defaultMavenLocal = Paths.get(System.getProperty("user.home"), ".m2", "repository").toAbsolutePath()
|
|
val mavenLocal = System.getProperty("maven.repo.local") ?: defaultMavenLocal
|
|
systemProperty("maven.repo.local", mavenLocal)
|
|
systemProperty("kotlin.version", version)
|
|
}
|
|
}
|