How do I create a listener when a project Builds from IDE

已回答

I'm building a IntelliJ plugin that needs to take some actions once the opened project in the IDE builds successfully. I need to execute this at each successful project build task. So can I create a listener for 'Build Project' task?

Any suggestions would be greatly appreciated!

Thanks.

2

See com.intellij.openapi.compiler.CompileTask

0

@Yann

`com.intellij.openapi.compiler.CompileTask` doesn't work with PyCharm or android studio gradle tasks.

0

请先登录再写评论。