title: ViewModel in Kotlin: Unresolved Reference
body: <p>I am trying to implement ViewModel in a 100% Kotlin app. Every piece of documentation I can find says I want to use this to get the ViewModel instance:</p>
  
  <pre><code>ViewModelProviders.of(this).get(CustomViewModel::class.java)
  </code></pre>
  
  <p>According to the docs, I should be able to import this with:</p>
  
  <pre><code>import android.arch.lifecycle.ViewModelProviders
  </code></pre>
  
  <p>This import is unresolved though. I am using the following in my build file:</p>
  
  <pre><code>def androidArchVersion = '1.1.1'
  implementation "android.arch.lifecycle:viewmodel:$androidArchVersion"
  implementation "android.arch.lifecycle:livedata:$androidArchVersion"
  annotationProcessor "android.arch.lifecycler:compiler:$androidArchVersion"
  testImplementation "android.arch.core:core-testing:$androidArchVersion"
  </code></pre>
  
  <p>Why can't I access <code>ViewModelProviders</code>?</p>