title: Flutter dependency issue with Kotlin and Gradle
body: <p>I'm having an issue building an app for Android that runs fine on iOS. The error reads:</p>
  
  <p>* What went wrong:
  A problem occurred evaluating project ':app'.</p>
  
  <blockquote>
    <p>Could not find method classpath() for arguments
    [org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version] on object of type
    org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.</p>
  </blockquote>
  
  <p>Here are my dependencies in the build.gradle in the app module:</p>
  
  <pre><code>dependencies {
  classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version'
  testImplementation 'junit:junit:4.12'
  androidTestImplementation 'com.android.support.test:runner:1.0.2'
  androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'}
  </code></pre>
  
  <p>Thank you for your help!</p>