Files
kotlin-fork/compiler/tests-against-klib/build.gradle.kts
T
Vyacheslav Gerasimov ab146bd6d4 Build: Fix deprecated Gradle configurations usages
for migration to Gradle 7+ #KTI-559
2021-09-26 18:28:44 +03:00

33 lines
862 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(intellijCoreDep()) { includeJars("intellij-core") }
testRuntimeOnly(intellijCoreDep()) { includeJars("intellij-core") }
}
sourceSets {
"main" { }
"test" { projectDefault() }
}
testsJar {}
projectTest(parallel = true) {
dependsOn(":dist")
dependsOn(":kotlin-stdlib-js-ir:compileKotlinJs")
workingDir = rootDir
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))
}
val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateCompilerTestsAgainstKlibKt")