Problem: I have developed a custom gradle plugin. I would like to have a blocking UI associated with it so as to take contextual input from the user during the build. Hence I created swing based UI for it. The problem with this approach is that, while running gradle build on IntelliJ, if this UI ever goes behind the IntelliJ window, I couldn't figure out a way of programatically bringing it on top of IntelliJ window.
Hence I am thinking of popping up an IntelliJ based UI iff the gradle build of the project is running on IntelliJ.
Question: Is there a way to call a custom IntelliJ plugin's UI from a Gradle task?
You can call a IntelliJ plugin from anywhere, if you open a Socket.
Grep Console plugin does that: https://github.com/krasa/GrepConsole/tree/master/src/krasa/grepconsole/tail/remotecall
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With