Run task after "Build Project" Task of IntelliJ IDE

Answered

I am writing an intellij-IDE plugin and need to execute a task after successful build tasks of the project in the IDE. Is there way to capture the "Build Project" (Ctrl+F9) task as a event or any suggestions would be greatly appreciated.
I need to execute this at each successful project build task of the opened project.

Thanks in advance.

2
3 comments

Are you using Devkit or Gradle-based setup?

0
Avatar
Permanently deleted user

I'm using Devkit for plugin development

0

Sorry, my previous question was irrelevant. Please check out com.intellij.openapi.compiler.CompilerManager#addAfterTask

0

Please sign in to leave a comment.