Files
kotlin-fork/repo/artifacts-tests/build.gradle.kts
T
Bogdan Mukvich 9160636a71 Implement artifacts test
^KTI-1103
2023-06-26 08:19:47 +00:00

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)
}
}