After opening my project with IDEA 14 EAP, I can't compile because of the following error:
Error:Cannot compile Groovy files: no Groovy library is defined for module 'testing'
I can see the groovy-2.2.2, groovy-ant-2.2.2 and groovy-xml-2.2.2 library as compile dependencises in the modules view.
The same project is working fine in IDEA 13.
On a different single-module project I can compile Groovy just fine. In noticed that on the qworking build, the groovy dependency had a Groovy SDK icon, while on the failing build it had a regular JAR icon.
Also the working project was Gradle imported using the IDEA's gradle plugin and was using Groovy 2.3.0, while the failing project was generated using Gradle's "idea" task (long story) and was using Groovy 2.2.2.
Has anybody else seen this behavior?