File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed
Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,6 @@ plugins {
1313 alias(libs.plugins.kotlin)
1414}
1515
16- intellijPlatform {
17- pluginConfiguration {
18- name = " PowerShell"
19- }
20- }
21-
2216sourceSets {
2317 main {
2418 java.srcDir(" src/main/gen-parser" )
@@ -68,6 +62,7 @@ dependencies {
6862 bundledPlugins(" org.intellij.intelliLang" , " org.jetbrains.plugins.terminal" )
6963 instrumentationTools()
7064 testFramework(TestFrameworkType .Bundled )
65+ pluginVerifier()
7166 }
7267
7368 implementation(libs.bundles.junixsocket)
@@ -92,6 +87,21 @@ dependencies {
9287 )
9388}
9489
90+ intellijPlatform {
91+ pluginConfiguration {
92+ name = " PowerShell"
93+ }
94+ pluginVerification {
95+ ides {
96+ recommended()
97+ }
98+ freeArgs.addAll(
99+ " -mute" , " ForbiddenPluginIdPrefix" ,
100+ " -mute" , " TemplateWordInPluginId"
101+ )
102+ }
103+ }
104+
95105configurations {
96106 runtimeClasspath {
97107 // NOTE: Newer versions of these libraries are provided by IntelliJ, so let's exclude them from the dependency set
@@ -227,6 +237,7 @@ tasks {
227237
228238 check {
229239 dependsOn(verifyDistributionSize)
240+ dependsOn(verifyPlugin)
230241 }
231242
232243 runIde {
You can’t perform that action at this time.
0 commit comments