diff --git a/build/scripts/layouts.gant b/build/scripts/layouts.gant index 51c8b4a968a4..79a45061194b 100644 --- a/build/scripts/layouts.gant +++ b/build/scripts/layouts.gant @@ -327,8 +327,10 @@ public def layoutCommunityPlugins(String home) { jar("git4idea-rt.jar") { module("git4idea-rt") } - jar("remote-servers-git.jar") { - module("remote-servers-git") + if (!isDefined("pluginFilter")) {//temporary fix to exclude remote-servers-git module from layout for small IDEs because corresponding module isn't compiled + jar("remote-servers-git.jar") { + module("remote-servers-git") + } } fileset(dir: "$home/plugins/git4idea/lib") { include(name: "trilead-ssh2.jar")