Add groovy mode, hook it up to gradle files