Skip to content

Commit de9b0d8

Browse files
committed
Add OAuth modules for 2025.3 (253) platform
JetBrains split OAuth classes into separate modules in 2025.3: - intellij.platform.collaborationTools.auth.base - intellij.platform.collaborationTools.auth These must be explicitly bundled for 253+ builds to resolve OAuthServiceBase, OAuthCallbackHandlerBase, PkceUtils, etc. Fixes all 56 OAuth-related compilation errors.
1 parent 8703c00 commit de9b0d8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

buildSrc/src/main/kotlin/toolkit-intellij-subplugin.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ dependencies {
101101
bundledPlugins(toolkitIntelliJ.productProfile().map { it.bundledPlugins })
102102
plugins(toolkitIntelliJ.productProfile().map { it.marketplacePlugins })
103103

104+
// OAuth modules split in 2025.3 (253) - must be explicitly bundled
105+
val versionStr = version.get()
106+
if (versionStr.contains("253")) {
107+
bundledModule("intellij.platform.collaborationTools")
108+
bundledModule("intellij.platform.collaborationTools.auth.base")
109+
bundledModule("intellij.platform.collaborationTools.auth")
110+
}
111+
104112
testFramework(TestFrameworkType.Plugin.Java)
105113
testFramework(TestFrameworkType.Platform)
106114
testFramework(TestFrameworkType.JUnit5)

0 commit comments

Comments
 (0)