title: Unresolved reference: launch
body: <p>Trying to run some examples for Kotlin coroutines, but can't build my project. I'm using the latest gradle release - 4.1</p>
  
  <p>Any suggestions what to check/fix?</p>
  
  <p>Here is <code>build.gradle</code></p>
  
  <pre><code>buildscript {
      ext.kotlin_version = '1.1.4-3'
  
      repositories {
          mavenCentral()
      }
  
      dependencies {
          classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
      }
  }
  
  apply plugin: 'kotlin'
  apply plugin: 'application'
  
  kotlin {
      repositories {
          jcenter()
      }
  
      experimental {
          coroutines 'enable'
      }
  
      dependencies {
          compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.18"
      }
  }
  </code></pre>
  
  <p>and the <code>main.kt</code></p>
  
  <pre><code>fun main(args: Array&lt;String&gt;) {
      launch (CommonPool) {
          delay(1000L)
          println("World!")
      }
  
      println("Hello, ")
      Thread.sleep(2000L)
  }
  </code></pre>
  
  <p>when I run <code>gradle compileKotlin</code> I get the following</p>
  
  <pre><code>e: /Users/philippgrigoryev/projects/kotlin-coroutines/src/main/kotlin/main.kt: (2, 5): Unresolved reference: launch
  e: /Users/philippgrigoryev/projects/kotlin-coroutines/src/main/kotlin/main.kt: (2, 13): Unresolved reference: CommonPool
  e: /Users/philippgrigoryev/projects/kotlin-coroutines/src/main/kotlin/main.kt: (3, 9): Unresolved reference: delay`
  </code></pre>