javacc / javaccPlugin

A JavaCC plugin for Gradle
MIT License
33 stars 16 forks source link

Changed CompileJavaccTask base class and added default filter #8

Closed maoueh closed 10 years ago

maoueh commented 10 years ago

In our use-case, the input directory contains other stuff than plain JavaCC input files. Here some works to fix this issue.

The addition of a default include filter could be seen as a BC break. Removing it would be ok since it is now possible to use include "**/*.jj" in task configuration to only include certain files.

I had to change some tests because the behavior is a bit more clever now. Output directory is now not created if there is no input files and input directory is not required anymore.

Regards, Matt