Pre compile task
已回答
Is there any way to attach a task just before the build process of a module?
Thanks
请先登录再写评论。
Probably, `com.intellij.openapi.compiler.CompilerManager#addBeforeTask` might help.
See:
`com.intellij.openapi.compiler.CompileContext#getCompileScope`
`com.intellij.openapi.compiler.CompileScope#getAffectedModules`