New Gradle project / Add Grovy Class

I am really new to intelliJ so I am sorry for the dumb questions here. I started a new gradle project and when I go to the new menu I don't have the option to add a new groovy class. Do I need to add groovy support to this project or what? Missing something here.

2-14-2014 5-45-39 PM.png

2 comments
Comment actions Permalink

The cause of the problem is that src/main/groovy is not marked as a source root (it should get blue color). With the configuration on your screenshot it should be done. Please try Refresh in Gradle tool window.

Regards,
Alexander.

0
Comment actions Permalink

Ahh yes, I had to create that folder. A simple refresh of the gradle project and it recognized my plugin and created the appropriate folders.

Thanks you!

0

Please sign in to leave a comment.