Start/Test Plugin with Different Versions of IntelliJ (not build)
已回答
Hello,
I was wondering how I can start and/or run tests of my plugins built on version X of IntelliJ against version Y at runtime. The gradle plugin lets you specify a version under the intellij { version } but this seems to control build and run
I'm not sure if I'm doing it wrong, but it seems like it would be cool if I could build against version Y, and then have different run configurations for runIde so I could verify in a few different ways and/or versions, and/or have tests run against different versions at runtime.
请先登录再写评论。
https://github.com/JetBrains/gradle-intellij-plugin/#rundebug-ide-properties
alternativeIdePath allows specifying a different IDE to run
Is there a way to leverage the built functionality for downloading an IDE plugin, it looks like that parameter requires me to download manually which is less than great. Should I just hack inside the gradle-intellij-plugin?
There's already an issue about it here https://github.com/JetBrains/gradle-intellij-plugin/issues/324