update emacs configuration for groovy
update for gradle: