Add a groovy verticle. Note that you have to add a groovy directory and rerun gradle idea to correctly generate the project files.