title: After updating Gradle dependencies failed to resolve
body: <p>After update gradle to latest dependencies contain firebase and play services:</p>
  
  <p>Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.</p>
  
  <p>It will be removed at the end of 2018. For more information see: <a href="http://d.android.com/r/tools/update-dependency-configurations.html" rel="noreferrer">http://d.android.com/r/tools/update-dependency-configurations.html</a></p>
  
  <p>Failed to resolve: play-services-base
  Open File</p>
  
  <p>Failed to resolve: play-services-tasks
  Open File</p>
  
  <p>Failed to resolve: play-services-stats
  Open File</p>
  
  <p>Failed to resolve: play-services-ads-identifier
  Open File</p>
  
  <p>Failed to resolve: play-services-basement
  Open File</p>
  
  <p><em>build.gradle(app)</em>  </p>
  
  <pre><code>implementation 'com.google.firebase:firebase-messaging:17.0.0'
  implementation 'com.google.firebase:firebase-database:16.0.1'
  implementation 'com.google.android.gms:play-services-analytics:16.0.0'
  implementation 'com.google.android.gms:play-services-maps:15.0.1'
  implementation 'com.google.android.gms:play-services-auth:15.0.1'
  implementation 'com.google.android.gms:play-services-places:15.0.1'
  </code></pre>
  
  <p>How can I resolve?</p>