From a7894a62981be71b0ce88928f3a297521cb3403c Mon Sep 17 00:00:00 2001 From: Nikita Bobko Date: Wed, 9 Jun 2021 15:26:07 +0200 Subject: [PATCH] Introduce 'disableKotlinPluginModules' flag We are about to drop Kotlin plugin sources from Kotlin repo (since they are merged into intellij-commmunity repo). Let's introduce the flag which we could use for testing --- settings.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/settings.gradle b/settings.gradle index 745f00c61a6..f7a34e4f8b0 100644 --- a/settings.gradle +++ b/settings.gradle @@ -329,7 +329,10 @@ if (buildProperties.getOrNull("attachedIntellijVersion") != null) { project(projectName).projectDir = it.parentFile } } -} else { +} + +if (!buildProperties.getBoolean("disableKotlinPluginModules", false) && buildProperties.getOrNull("attachedIntellijVersion") == null) { + logger.info("Old Kotlin plugin modules are disabled") include ":idea:idea-jvm", ":idea:idea-maven", ":idea:idea-gradle",