Adding Groovy Support to module
Answered
IDEA 17.2.2, Ubuntu 17.0.4.
I have not found any way to add groovy support to an existing module. Simply it is missing from both places, Add Framework Support and from module settings -> add.
I have added groovy-2.4.6 as a dependency to that module, but upon compilation still complains that cannot compile groovy.
Please sign in to leave a comment.
Groovy support is added via the library in the module dependencies: https://www.jetbrains.com/help/idea/working-with-module-dependencies.html.
You can create a new Groovy project from scratch and specify the home directory of your Groovy installation so that IntelliJ IDEA creates a library for you. Then you can reuse this library in another projects.