changed groovy dependency to compile as groovy has been deprecated