My project consists of a core module written in Java and a dependent module that contains groovy code. I wanted to run a unit test in the core module but I get compilation errors in the generated Groovy java files that JetGroovy creates under
Two issues here. The Groovy files themselves are fine. I've tried "touching" the Groovy files and see if they get regenerated, but no dice.
Number two, even if there were a problem, these files shouldn't prevent me from running my test case since they are in the dependent module and my test case is in the core module.
What causes this issue and how can I prevent it from happening again? It would be nice not to scare the average developer to have this nasty implementation detail sneak out from time to time!