title: How do I set the scala sdk using gradle in Idea module?
body: <p>My build.gradle file</p>
  
  <pre><code>idea {
      project {
          vcs {
              vcs = 'Git'
          }
  
          jdkName = '1.8'
          languageLevel = '1.8'
      }
  }
  </code></pre>
  
  <p>I would also like to set the scala SDK in the module using gradle. 
  Right now, I end up having to manually set it from Project Structure in the Idea UI.
  Ideally, I would prefer to set it in my build.gradle file such that when I run</p>
  
  <blockquote>
    <p>gradle idea</p>
  </blockquote>
  
  <p>the scala SDK is automatically set for this module</p>