Make Groovy dependency optional