Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: slight rewording


When I compile my project using Gradle and @CompileStatic, my code using an extension module fails compilation.

As of Gradle 1.4, the Gradle incremental 's native Groovy compiler integration doesn't seem to be compatible with extension modules. As a workaround, you can use the Ant compiler integration:

Code Block
compileGroovy.groovyOptions.useAnt = true
compileTestGroovy.groovyOptions.useAnt = true