[Analysis] add test generator for Kotlin/Native tests inside Analysis API
This test generator is enabled only if Kotlin/Native support is enabled in the project ^KT-62910
This commit is contained in:
committed by
Space Team
parent
a18c49d795
commit
68235b978b
@@ -0,0 +1,29 @@
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
"main" { none() }
|
||||
"test" { projectDefault() }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(kotlinStdlib("jdk8"))
|
||||
|
||||
testImplementation(projectTests(":generators:test-generator"))
|
||||
testImplementation(projectTests(":compiler:tests-common"))
|
||||
testImplementation(projectTests(":compiler:tests-spec"))
|
||||
testImplementation(projectTests(":generators:analysis-api-generator"))
|
||||
|
||||
testImplementation(intellijCore())
|
||||
testApi(platform(libs.junit.bom))
|
||||
testImplementation(libs.junit.jupiter.api)
|
||||
testRuntimeOnly(libs.junit.jupiter.engine)
|
||||
}
|
||||
|
||||
|
||||
val generateAnalysisApiNativeTests by generator("org.jetbrains.kotlin.generators.tests.analysis.api.konan.GenerateAnalysisApiNativeTestsKt")
|
||||
|
||||
testsJar()
|
||||
|
||||
Reference in New Issue
Block a user