intellij-platform-gradle-plugin icon indicating copy to clipboard operation
intellij-platform-gradle-plugin copied to clipboard

Cross build support

Open izhangzhihao opened this issue 7 years ago • 1 comments

Imagine the following scenario:

  1. Feature one in my plugin is available for IC distributions
  2. Feature two in my plugin is available for IU distributions but not for IC distributions
  3. I want test the feature two with IU distributions but publish releases with IC distributions, so that if users are using IC distributions only feature one available, but if users are using IU distributions, both of the features are available.

That means, gradle-intellij-plugin will add IU distributions as dependencies as test provided, but add IC distributions as dependencies as compile provided.

izhangzhihao avatar Mar 12 '18 15:03 izhangzhihao

Thanks for the scenario

zolotov avatar Mar 12 '18 15:03 zolotov

Running tests using different IntelliJ Platform is now possible with the 2.0 release. See: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-tasks.html#testIde

hsz avatar Mar 28 '24 21:03 hsz