From c670b2b50fe587e682426bf949b89224481b0646 Mon Sep 17 00:00:00 2001 From: Nikolay Rykunov <nikolay.rykunov@jetbrains.com> Date: Tue, 10 Oct 2023 18:25:21 +0200 Subject: [PATCH] Take supported.ij.version from CLI properties as well --- buildSrc/src/main/kotlin/IdeaConfiguration.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/buildSrc/src/main/kotlin/IdeaConfiguration.kt b/buildSrc/src/main/kotlin/IdeaConfiguration.kt index 993ccf047..d632be9fa 100644 --- a/buildSrc/src/main/kotlin/IdeaConfiguration.kt +++ b/buildSrc/src/main/kotlin/IdeaConfiguration.kt @@ -7,6 +7,7 @@ enum class SupportedIJVersion { fun Project.supportedIJVersion(): SupportedIJVersion { val prop = localProperty("supported.ij.version") + ?: rootProject.property("supported.ij.version") ?: error( "'supported.ij.version' gradle property is missing. " + "Please, provide it using local.properties file or -Psupported.ij.version argument in CLI"