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