@@ -8,7 +8,6 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
88import org.jetbrains.changelog.Changelog
99import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
1010import org.jetbrains.intellij.platform.gradle.TestFrameworkType
11- import org.jetbrains.intellij.platform.gradle.models.ProductRelease
1211import org.jetbrains.intellij.platform.gradle.tasks.InstrumentCodeTask
1312import org.jetbrains.intellij.platform.gradle.tasks.PrepareSandboxTask
1413import org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask.FailureLevel
@@ -252,12 +251,9 @@ project(":") {
252251 pluginComposedModule(implementation(project(" :plugin-copilot" )))
253252
254253 // adding this for runIde support
255- val copilotPluginVersion = prop(" copilotPluginVersion" )
256- if (copilotPluginVersion.isNotEmpty()) {
257- plugin(" com.github.copilot" , copilotPluginVersion)
258- }
254+ compatiblePlugin(" com.github.copilot" )
259255
260- pluginVerifier(" 1.384 " )
256+ pluginVerifier()
261257 zipSigner()
262258 }
263259 }
@@ -428,10 +424,11 @@ project(":plugin-copilot") {
428424 implementation(project(" :plugin-core" ))
429425 implementation(" com.knuddels:jtokkit:1.1.0" )
430426
431- // Unfortunately, we can't use the Copilot plugin in test mode. In test mode with version 1.5.30-231, it throws:
427+ // Unfortunately, we can't use the Copilot plugin in test mode. In test mode with version 1.5.30-231,
428+ // it throws an exception because the test service implementations are not included:
432429 // java.lang.ClassNotFoundException: com.github.copilot.lang.agent.CopilotAgentProcessTestService
433430 /* intellijPlatform {
434- plugin ("com.github.copilot", prop("copilotPluginVersion") )
431+ compatiblePlugin ("com.github.copilot")
435432 }*/
436433 }
437434}
0 commit comments