Files
kotlin-fork/compiler/tests-against-klib/build.gradle.kts
T
Ilya Gorbunov 69a87efdd9 js.tests: change paths to kotlin-stdlib-js.klib
Change the expected klib name of stdlib

KT-56106
2023-08-03 14:47:20 +00:00

32 lines
751 B
Kotlin

import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
import java.io.File
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
api(kotlinStdlib())
testApi(projectTests(":generators:test-generator"))
testApi(projectTests(":compiler:tests-common"))
testCompileOnly(intellijCore())
testRuntimeOnly(intellijCore())
}
sourceSets {
"main" { }
"test" { projectDefault() }
}
testsJar {}
projectTest(parallel = true) {
dependsOn(":kotlin-stdlib:jsJar")
workingDir = rootDir
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))
}
val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateCompilerTestsAgainstKlibKt")