Build: Fix intellij dependency leak from ir tree module

Original commit: 5a39c637c2
This commit is contained in:
Vyacheslav Gerasimov
2019-06-02 23:22:50 +03:00
parent 8bb347a0ee
commit a6167fd77b
+4 -6
View File
@@ -37,16 +37,14 @@ dependencies {
Ide.IJ { Ide.IJ {
testCompile(intellijDep("devkit")) testCompile(intellijDep("devkit"))
} }
if (Platform[181].orHigher()) {
testCompileOnly(intellijDep()) { includeJars("openapi", "idea", "platform-api", "log4j") } testCompile(intellijDep())
} else {
testCompileOnly(intellijDep()) { includeJars("openapi", "idea", "log4j") }
}
testCompile(jpsBuildTest()) testCompile(jpsBuildTest())
compilerModules.forEach { compilerModules.forEach {
testRuntime(project(it)) testRuntime(project(it))
} }
testRuntime(intellijDep())
testRuntime(project(":kotlin-reflect")) testRuntime(project(":kotlin-reflect"))
testRuntime(project(":kotlin-script-runtime")) testRuntime(project(":kotlin-script-runtime"))
} }