IntelliJ IDEA 14.1.4 + Gradle: Cannot Compile Groovy Files -
each time attempt create new intellij 14.1.4 project on windows gradle integration receive following error during 'make' command when have groovy source files included in project...
error:cannot compile groovy files: no groovy library defined module 'gradlecommandline'
i have tried:
- creating gradle project through new project wizard in intellij, choosing groovy 'additional library'
- creating new gradle project outside of intellij using
gradle init --type groovy-library
command, opening intellij finds gradle.build file , automatically links project - converting existing project working ivyidea plugin gradle build
- i have tried adding (made sure) groovy-all library 'global library' within project structure
each of these gave me same 'cannot compile groovy files' error.
what work:
- i can run
gradle war
command compiles correctly , can deploy build war application server (in case tomcat 7.0.47)
however in watching getting started gradle in intellij idea 13 (they not have 1 intellij 14) demo video, able run standard 'make' , add unexploded war build artifact.
also had colleague using mac version of intellij 14.1.4 same 'i have tried' attempts above , did not run issues. imported same project having issues , able 'make' without changes settings.
pointing local gradle installation solved issue. there issue corporate proxy preventing gradle distribution installing properly.
Comments
Post a Comment