Skip to content

Commit 83e27c9

Browse files
committed
fix(jetbrains): exclude internal API from verifier failure levels
Kotlin generates synthetic overrides for all ToolWindowFactory interface methods including ones marked @internal. These are bridge methods, not actual code overrides. Also drop 2025.1 from verifier since sinceBuild=252.
1 parent 7ebde3d commit 83e27c9

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,14 @@ intellijPlatform {
6060

6161
pluginVerification {
6262
ides {
63-
create(org.jetbrains.intellij.platform.gradle.IntelliJPlatformType.IntellijIdeaCommunity, "2025.1")
6463
create(org.jetbrains.intellij.platform.gradle.IntelliJPlatformType.IntellijIdeaCommunity, "2025.2")
6564
}
65+
// Kotlin generates synthetic overrides for all ToolWindowFactory interface methods,
66+
// including ones marked @Internal in newer SDK versions. These are bridge methods,
67+
// not actual overrides in our code. Exclude INTERNAL_API_USAGES from failure.
68+
failureLevel = org.jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformExtension.PluginVerification.FailureLevel.entries.filter {
69+
it != org.jetbrains.intellij.platform.gradle.extensions.IntelliJPlatformExtension.PluginVerification.FailureLevel.INTERNAL_API_USAGES
70+
}
6671
}
6772
}
6873

0 commit comments

Comments
 (0)