From 9d12df28c18163f378472594197b01bbd8c73c5c Mon Sep 17 00:00:00 2001 From: Pavel Kirpichenkov Date: Wed, 2 Sep 2020 14:20:16 +0300 Subject: [PATCH] [FIR-IDE] Add idea-fir test runtime dep for fir plugin only Leads to duplicated bundled resources annotation templates otherwise. --- idea/build.gradle.kts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/idea/build.gradle.kts b/idea/build.gradle.kts index e0d2427732a..b8dfbfed09e 100644 --- a/idea/build.gradle.kts +++ b/idea/build.gradle.kts @@ -187,8 +187,9 @@ dependencies { testRuntime(intellijPluginDep("smali")) testRuntime(intellijPluginDep("testng")) - testRuntime(project(":idea:idea-fir")) - testRuntime(project(":idea:idea-frontend-fir")) + if (isFirPlugin) { + testRuntime(project(":idea:idea-fir")) + } if (Ide.AS36.orHigher()) { testRuntime(intellijPluginDep("android-layoutlib"))