How do I tell IntelliJ about groovy installed with brew on OSX : <p>I'm running: </p>

<ul>
<li>IntelliJ Ultimate 2016.3</li>
<li>Homebrew 1.1.2</li>
<li>OS X 10.11.5 El Capitan </li>
</ul>

<p>I ran <code>brew install groovy</code> which resulted in groovy being installed in <code>/usr/local/Cellar/groovy/2.4.7/</code>. Brew also added a symlink: <code>/usr/local/bin/groovy -&gt; ../Cellar/groovy/2.4.7/bin/groovy</code></p>

<p>When I open the groovy project in IntelliJ, it gives me an option to Configure a Groovy SDK. I haven't set this up yet, so I get a "Create" button, which launches finder. From what I can tell there's nothing that I can select to make IntelliJ happy. I've tried <code>/user/local/bin/groovy</code>, <code>/user/local/Cellar/groovy</code>, <code>/user/local/Cellar/groovy/2.4.7</code>, <code>/user/local/Cellar/groovy/2.4.7/bin</code> etc. No mater which I choose, IntelliJ doesn't accept the library and continues to tell me "Error: library is not specified". </p>

<p>Does anyone know how I'm supposed to go about telling IntelliJ where groovy is? </p>
