title: launch is only available since Kotlin 1.3 and cannot be used in Kotlin 1.2
body: <p>I'm trying to run <a href="https://github.com/Kotlin/kotlinx.coroutines/blob/master/core/kotlinx-coroutines-core/test/guide/example-basic-01.kt" rel="noreferrer">the simplest example with coroutines</a>:</p>
  
  <pre><code>    import kotlinx.coroutines.*
  
      fun main() {
          GlobalScope.launch {
              delay(1000L)
              println("${Thread.currentThread().name}: World")
          }
          println("${Thread.currentThread().name}: Hello")
          Thread.sleep(2000L)
          println("${Thread.currentThread().name}: Finish!")
      }
  </code></pre>
  
  <p>And my <em>build.gradle</em> file looks like this:</p>
  
  <pre><code>buildscript {
      // Consider moving these values to `gradle.properties`
      ext.kotlin_version = '1.3.0-rc-146'
      ext.kotlin_gradle_plugin_version = '1.3.0-rc-198'
      ext.kotlinx_coroutines = '1.0.0-RC1'
  
      repositories {
          maven { url "https://kotlin.bintray.com/kotlin-eap" }
          mavenCentral()
          jcenter()
          google()
      }
      dependencies {
          classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.51"
      }
  }
  
  plugins {
      id 'org.jetbrains.kotlin.jvm' version "1.1.51"
  }
  
  apply plugin: 'idea'
  apply plugin: 'application'
  group 'by.kotlin'
  version '1.0-SNAPSHOT'
  
  mainClassName = 'MainKt'
  
  repositories {
      maven { url "https://kotlin.bintray.com/kotlin-eap" }
      mavenCentral()
      jcenter()
      google()
  }
  
  dependencies {
      implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
      implementation "org.jetbrains.kotlin:kotlin-stdlib-common:$kotlin_version"
      implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
      implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines"   
  }
  
  compileKotlin {
      kotlinOptions.jvmTarget = "1.8"
  }
  compileTestKotlin {
      kotlinOptions.jvmTarget = "1.8"
  }
  </code></pre>
  
  <p>But when I run this example, I've got the following errors:</p>
  
  <pre><code>e: ...Main.kt: (6, 17): 'launch(CoroutineContext = ..., CoroutineStart = ..., [ERROR : Bad suspend function in metadata with constructor: Function2]&lt;CoroutineScope, Continuation&lt;Unit&gt;, Any?&gt;): Job' is only available since Kotlin 1.3 and cannot be used in Kotlin 1.2
  e: ...Main.kt: (7, 9): Suspend function 'delay' should be called only from a coroutine or another suspend function
  e: ...Main.kt: (7, 9): 'delay(Long): Unit' is only available since Kotlin 1.3 and cannot be used in Kotlin 1.2
  &gt; Task :compileKotlin FAILED
  </code></pre>
  
  <p>Why do these errors occur? I'm completely confused, because the first error says that launch "is only available since Kotlin 1.3 and cannot be used in Kotlin 1.2", but I use Kotlin 1.3 in my build.gradle file (in particular, '1.3.0-rc-146')... </p>
  
  <p><strong>UPD</strong></p>
  
  <p>It seems that the reason of problem is in IntelliJ IDEA Settings:</p>
  
  <p><a href="https://i.stack.imgur.com/DoCel.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/DoCel.jpg" alt="enter image description here"></a></p>
  
  <p>But how to fix it, if the latest language version, which can be selected there, is 1.2, not 1.3?</p>