Skip to content

Commit d361e83

Browse files
committed
Fix CI failures: Make 2025.3-specific bundled modules conditional
The bundled modules intellij.platform.collaborationTools.auth.base, intellij.gateway.station, and intellij.rd.platform only exist in IntelliJ 2025.3, causing CI failures on older IDE versions. This change makes these modules conditional on ideProfileName=2025.3, allowing all IDE versions (2024.3, 2025.1, 2025.2, 2025.3) to build successfully across all platforms (Linux, Windows, Mac).
1 parent 3213a19 commit d361e83

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

plugins/toolkit/jetbrains-ultimate/build.gradle.kts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ dependencies {
1919
intellijPlatform {
2020
localPlugin(project(":plugin-core"))
2121

22-
// Gateway API (core plugin + modules)
22+
// Gateway API (core plugin + modules) - only for 2025.3+
2323
bundledPlugin("com.jetbrains.gateway")
24-
bundledModule("intellij.platform.collaborationTools.auth.base")
2524

26-
// Gateway modules found in 2025.3
27-
bundledModule("intellij.gateway.station")
28-
29-
// RD platform module found in 2025.3
30-
bundledModule("intellij.rd.platform")
25+
// 2025.3+ specific modules that don't exist in earlier versions
26+
if (providers.gradleProperty("ideProfileName").get() == "2025.3") {
27+
bundledModule("intellij.platform.collaborationTools.auth.base")
28+
bundledModule("intellij.gateway.station")
29+
bundledModule("intellij.rd.platform")
30+
}
3131

3232
// Go Plugin (as Marketplace dependency with specific version)
3333
plugin("org.jetbrains.plugins.go:253.27642.30")

0 commit comments

Comments
 (0)