blob: 0857786007137d8c620b3952d5d9a67e73fae642 [file]
import org.jetbrains.kotlin.kotlinNativeDist
plugins {
kotlin("jvm")
id("project-tests-convention")
}
dependencies {
testImplementation(testFixtures(project(":compiler:tests-common")))
testImplementation(project(":analysis:analysis-api-standalone"))
testImplementation(testFixtures(project(":analysis:analysis-api-standalone")))
testImplementation(testFixtures(project(":analysis:analysis-test-framework")))
testImplementation(testFixtures(project(":native:native.tests")))
testImplementation(project(":native:kotlin-native-utils"))
testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter.api)
testRuntimeOnly(libs.junit.jupiter.engine)
}
sourceSets {
"main" { none() }
"test" {
projectDefault()
}
}
projectTests {
nativeTestTask("test", tag = null) {
systemProperty("kotlin.native.home", kotlinNativeDist.absolutePath)
}
}
testsJar()