blob: 5637d62a287a57618c71652a49db76b7b9b72526 [file] [log] [blame] [edit]
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
api(kotlinStdlib())
api(project(":compiler:compiler.version"))
api(project(":core:util.runtime"))
compileOnly(intellijCore())
compileOnly(commonDependency("org.jetbrains.intellij.deps:log4j"))
compileOnly(commonDependency("org.jetbrains.intellij.deps:asm-all"))
compileOnly(jpsModel()) { isTransitive = false }
compileOnly(jpsModelImpl()) { isTransitive = false }
testImplementation(projectTests(":compiler:tests-common"))
testImplementation(intellijCore())
}
sourceSets {
"main" {
projectDefault()
resources.srcDir(File(rootDir, "resources"))
}
"test" {
projectDefault()
}
}
testsJar()
projectTest(parallel = true) {
workingDir = rootDir
}
tasks.withType<KotlinCompile> {
kotlinOptions.freeCompilerArgs += "-Xallow-kotlin-package"
}