Groovy examples for Java devs

setup

  1. brew install groovy
  2. open in IntelliJ
  3. Click "configure Groovy SDK"
  4. Select /usr/local/Cellar/groovy/2.5.5/libexec/

execute

  1. Right click main.groovy
  2. Click "debug"