Publish OS specific plugin

Answered

Hello Team, 

Since My plugin is using different 3th party libraries that are OS depandant is it possible to
publish and somehow configure the installation process to download only configuration that is targeted to specific OS?

e.g. I am using jxBrowser where they have different Jars (Max, Unix, Win, etc..), but the bundled plugin is too big so if there is a way to say that pick only XX.jar since I am on Mac it would be what I am looking for.

5 comments
Comment actions Permalink

There is currently no builtin possibility to provide OS specific plugins, please watch https://youtrack.jetbrains.com/issue/MP-1896

The only easy workaround would be to publish your plugin "separately" as distinct plugins, so there would be "MyPlugin (for Windows)", "MyPlugin (for macOS)" etc.

0
Comment actions Permalink

What if I will fetch the JAR dynamically from external server and add it to the classpath? 

This might make the IDE startup longer. Or Can I somehow hook into the Install Plugin process so I can fetch the specific OS JAR file here ?

0
Comment actions Permalink

In case I woudl product 3 different jars. How I would adjust the gradle build ? Or Maybe only the buildPlugin task?

0
Comment actions Permalink

Are there currently any API we can hook into so we can do some post installation steps after user installs the plugins? 

0

Please sign in to leave a comment.