As compile method is only available after applying the groovy plugin, the groovy dependency has been moved to the subprojects