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
This commit is contained in:
Nikita Bobko
2021-06-09 15:26:07 +02:00
parent 32f55a2269
commit a7894a6298
+4 -1
View File
@@ -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",