Add a groovy verticle. Note that you have to add a groovy directory and rerun gradle idea to correctly generate the project files. The project will now fail because of a classnotdefined error.