title: Intellij refuses to set the Kotlin target jvm to 1.8?
body: <pre><code>ParallelStreams.kts:41:15: error: calls to static methods in Java interfaces are prohibited in JVM target 1.6. Recompile with '-jvm-target 1.8'
  IntStream.range(0,10).parallel().forEach{a -&gt;
           ^
  </code></pre>
  
  <p>Ok ... I'm  not trying to compile for 1.6.</p>
  
  <p><code>File &gt; Project Structure &gt; Project</code> has project sdk <code>1.8</code> and language level <code>8</code>.</p>
  
  <p><code>File &gt; Project Structure &gt; Modules &gt; Kotlin</code> has target platform: <code>JVM 1.8</code>.</p>
  
  <p><code>File &gt; Project Structure &gt; Facets &gt; Kotlin</code> has target platform: <code>JVM 1.8</code>.</p>
  
  <p><code>File &gt; Settings &gt; Compiler &gt; Kotlin Compiler</code> has target jvm version <code>1.8</code>.</p>
  
  <p>My gradle build file ...</p>
  
  <pre><code>plugins {
      id 'org.jetbrains.kotlin.jvm' version '1.3.0'
  }
  
  group 'foo'
  version '1.0-SNAPSHOT'
  
  repositories {
      mavenCentral()
  }
  
  dependencies {
      //kotlin
      implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
      implementation "org.jetbrains.kotlin:kotlin-script-runtime:1.3.0"
  
      //networking
      implementation 'com.mashape.unirest:unirest-java:1.4.9'
  }
  
  compileKotlin {
      kotlinOptions.jvmTarget = "1.8"
  }
  compileTestKotlin {
      kotlinOptions.jvmTarget = "1.8"
  }
  </code></pre>
  
  <p>I'm running out of places to check for <code>1.8</code>.</p>
  
  <p>And yes, I <strong><em>have</em></strong> tried invalidating the cache and restarting Intellij. It does nothing to resolve this issue.</p>