title: Configuring Groovy SDK within IntelliJ IDEA
body: <p>I am running IntelliJ IDEA 2017.2.3. I installed Groovy 2.4.12 via Homebrew (OS X). When I open a Groovy source file (or a <code>Jenkinsfile</code>), I get the following:</p>
  
  <blockquote>
    <p>Groovy SDK is not configured for module 'my-module' . . . . . <em>Configure Groovy SDK...</em></p>
  </blockquote>
  
  <p>Clicking "Configure Groovy SDK..." leads me to the following dialog:</p>
  
  <p><a href="https://i.stack.imgur.com/iNskM.png" rel="noreferrer"><img src="https://i.stack.imgur.com/iNskM.png" alt="Error: library is not specified"></a></p>
  
  <p>I tried hitting "Create..." and selecting many different Groovy-related folders and executables, but nothing works.</p>
  
  <p>How can I get IntelliJ IDEA to accept my Groovy SDK?</p>