Fix dependency issue with groovy version.