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
brew install groovysdkFile > Project Structure > Module > +/opt/homebrew/Cellar/groovysdk/<version>/libexec/