Pre compile task

Answered

Is there any way to attach a task just before the build process of a module?

 

Thanks

0
1 comment

Probably, `com.intellij.openapi.compiler.CompilerManager#addBeforeTask` might help.

See:
`com.intellij.openapi.compiler.CompileContext#getCompileScope`
`com.intellij.openapi.compiler.CompileScope#getAffectedModules`

0

Please sign in to leave a comment.