-
Install groovysdk:
brew remove groovy brew install groovysdk
-
Set
GROOVY_HOME, otherwise Intellij reports as broken installation:export GROOVY_HOME=/usr/local/opt/groovy/libexec
-
Point IntelliJ to the installed directory, e.g.:
/usr/local/Cellar/groovysdk/2.4.7/libexec