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.
请先登录再写评论。
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.
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!