Files
Yahor Berdnikau 2f70478e67 [Gradle] Deprecate kotlinOptions DSL in KotlinCompile DSL
^KT-63419 In Progress
2024-02-28 21:20:18 +00:00

31 lines
698 B
Kotlin

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")