blob: 59e5b89cb3267ce375599553e4df4b3cbd641f6a [file]
import org.jetbrains.kotlin.kotlinNativeDist
plugins {
id("common-configuration")
id("test-federation-convention")
id("com.autonomousapps.dependency-analysis")
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()