From a6167fd77bed7754d4df21a58f4e5a476b8b906a Mon Sep 17 00:00:00 2001 From: Vyacheslav Gerasimov Date: Sun, 2 Jun 2019 23:22:50 +0300 Subject: [PATCH] Build: Fix intellij dependency leak from ir tree module Original commit: 5a39c637c2539decc72f6b166d00963be6295f20 --- jps/jps-plugin/build.gradle.kts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/jps/jps-plugin/build.gradle.kts b/jps/jps-plugin/build.gradle.kts index 0d818f1d28d..2ffe1efb648 100644 --- a/jps/jps-plugin/build.gradle.kts +++ b/jps/jps-plugin/build.gradle.kts @@ -37,16 +37,14 @@ dependencies { Ide.IJ { testCompile(intellijDep("devkit")) } - if (Platform[181].orHigher()) { - testCompileOnly(intellijDep()) { includeJars("openapi", "idea", "platform-api", "log4j") } - } else { - testCompileOnly(intellijDep()) { includeJars("openapi", "idea", "log4j") } - } + + testCompile(intellijDep()) + testCompile(jpsBuildTest()) compilerModules.forEach { testRuntime(project(it)) } - testRuntime(intellijDep()) + testRuntime(project(":kotlin-reflect")) testRuntime(project(":kotlin-script-runtime")) }