title: Google authentication version conflict with Google Maps
body: <p>I was following <a href="https://developers.google.com/identity/sign-in/android/start-integrating" rel="nofollow noreferrer">the official Google authentication process</a>. My app has been already using the latest version of Google Maps.</p>
  <p>project</p>
  <pre><code>dependencies {
      classpath 'com.android.tools.build:gradle:3.0.1'
      classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot;
      classpath 'com.google.gms:google-services:3.1.2'
  
      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
  }
  </code></pre>
  <p>app</p>
  <pre><code>apply plugin: 'com.google.gms.google-services'
  ....
  implementation 'com.google.android.gms:play-services-maps:11.8.0'
  implementation 'com.google.android.gms:play-services-auth:11.8.0'
  </code></pre>
  <p>There is a red line under maps and the popup says that it found 11.8.0 and 11.4.2. The build error message is something like,</p>
  <blockquote>
  <p>Error:Execution failed for task ':app:processDebugGoogleServices'.</p>
  <p>Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at <a href="https://bintray.com/android/android-tools/com.google.gms.google-services/" rel="nofollow noreferrer">https://bintray.com/android/android-tools/com.google.gms.google-services/</a>) or updating the version of com.google.android.gms to 11.4.2.</p>
  </blockquote>
  <p>If I comment out <code>apply plugin: 'com.google.gms.google-services'</code>, the build error disappears, but the official document tells me to add it.</p>
  <p>How can I fix this?</p>