Replace 'compile' with 'implementation'.
@@ -169,7 +169,7 @@ GitHubService service = retrofit.create(GitHubService.class);</pre>
&lt;/dependency></pre>
<h4>Gradle</h4>
<pre class="prettyprint">
-compile 'com.squareup.retrofit2:retrofit:<span class="version pln"><em>(insert latest version)</em></span>'
+implementation 'com.squareup.retrofit2:retrofit:<span class="version pln"><em>(insert latest version)</em></span>'
</pre>
<p>Retrofit requires at minimum Java 7 or Android 2.3.</p>
