Search code examples
javagwtintellij-ideagwt2intellij-14

Pass draftCompile to IntelliJ IDEA's GWT compiler


With the Maven GWT Plugin it is possible to pass the draftCompile flag to the GWT compiler.

How can I pass this parameter to IntelliJ IDEA's internal GWT compiler to speed up the compilation process?


Solution

  • Go to File > Project Structure > Facets, select your GWT facet and add this to your compiler parameters:

    -draftCompile
    

    Sources: