Setup Groovy

brew install groovysdk
  • In IntelliJ, Go to File > Project Structure > Module > +
  • Add Groovy
  • Point to /opt/homebrew/Cellar/groovysdk/<version>/libexec/
  • After adding to module you can debug gradle files