use classpath to determine Groovy version rather than dependencies