You can mix your groovy and java code and didn't think about combined (possible, cyclic) compilation. Click [Compile Module] (or [Make Module]) will compile (make) whole module.